From 010ea8f925b2e892a93762ad02cf3678b366fd2f Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Tue, 9 Jul 2013 14:31:49 +0200 Subject: [PATCH] fix typo in sync script --- tools/rpm/sync-to-repo.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/rpm/sync-to-repo.sh b/tools/rpm/sync-to-repo.sh index a076c4a66d..bddd3d02df 100755 --- a/tools/rpm/sync-to-repo.sh +++ b/tools/rpm/sync-to-repo.sh @@ -68,7 +68,7 @@ prune_rpm () { # after one week we keep only one per week. unset tmp - if [ $age -gt 7 ] && [ $arg -lt 84 ] + if [ $age -gt 7 ] && [ $age -lt 84 ] then w=$(expr $age / 7) eval tmp=\$week${w}