From 824ec9e353f5ff2e371e5a3ad814de1deceae68f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcela=20Ma=C5=A1l=C3=A1=C5=88ov=C3=A1?= Date: Mon, 27 Aug 2007 06:36:22 +0000 Subject: [PATCH] Fix typo in script. --- crontabs.spec | 5 ++++- run-parts | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/crontabs.spec b/crontabs.spec index 8de3b3d..075f785 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: 15%{?dist} +Release: 16%{?dist} License: Public Domain and GPLv2 Group: System Environment/Base Source0: crontab @@ -50,6 +50,9 @@ rm -rf $RPM_BUILD_ROOT %config(noreplace) /etc/sysconfig/crontab %changelog +* Mon Aug 27 2007 Marcela Maslanova 1.10-16 +- 254220 typo in script run-parts + * Tue Aug 21 2007 Marcela Maslanova 1.10-15 - corrected license tag in spec - add config file to crontab - delay of cron.{daily,...} could be diff --git a/run-parts b/run-parts index e4dd57e..31e336f 100755 --- a/run-parts +++ b/run-parts @@ -2,7 +2,7 @@ # if cron.daily was run today AUX1=`cat /var/spool/anacron/cron.daily` AUX2=`date +%Y%m%d` -[ $AUX1 == $AUX2 ] || exit 0 +[ "$AUX1" == $AUX2 ] || exit 0 # run-parts - concept taken from Debian