From 9ed37030854971dce7f6759f80f9a189ebe1a106 Mon Sep 17 00:00:00 2001 From: Marcela Mašláňová Date: Jun 09 2008 13:49:11 +0000 Subject: Use LANG=C for running jobs in correct order. --- diff --git a/crontabs.spec b/crontabs.spec index 9405899..9934907 100644 --- a/crontabs.spec +++ b/crontabs.spec @@ -1,7 +1,7 @@ Summary: Root crontab files used to schedule the execution of programs Name: crontabs Version: 1.10 -Release: 22%{?dist} +Release: 23%{?dist} License: Public Domain and GPLv2 Group: System Environment/Base Source0: crontab @@ -38,6 +38,9 @@ rm -rf $RPM_BUILD_ROOT %config(noreplace) /etc/sysconfig/crontab %changelog +* Mon Jun 9 2008 Marcela Maslanova 1.10-23 +- 450084 LANG=C is set up for running scripts + * Wed May 28 2008 Marcela Maslanova 1.10-22 - remove scripts for delay, anacron now own most of the scripts. Crontabs owns only run-parts, /etc/crontab and crontabs sysconfig. diff --git a/run-parts b/run-parts index d50a78f..96c56a5 100755 --- a/run-parts +++ b/run-parts @@ -15,7 +15,7 @@ if [ ! -d $1 ]; then fi # Ignore *~ and *, scripts -for i in $1/*[^~,] ; do +for i in $(LC_ALL=C; echo $1/*[^~,]) ; do [ -d $i ] && continue # Don't run *.{rpmsave,rpmorig,rpmnew,swp,cfsaved} scripts [ "${i%.cfsaved}" != "${i}" ] && continue