summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavier Chantry <shiningxc@gmail.com>2009-02-21 17:16:17 -0800
committerAaron Griffin <aaronmgriffin@gmail.com>2009-02-21 17:16:17 -0800
commit0d3c5671c27f0b5848bb72df9af2270f72e7c988 (patch)
tree00317ca93dd5488c8791a766b8c7705dcdbe8492
parent110f40248d3e365a98f82d30e2256da35689fbf7 (diff)
integrity-check: fix a few errors
I think it will work better now :) Signed-off-by: Xavier Chantry <shiningxc@gmail.com> Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
-rwxr-xr-xcron-jobs/integrity-check9
1 files changed, 4 insertions, 5 deletions
diff --git a/cron-jobs/integrity-check b/cron-jobs/integrity-check
index c3b016c..0b59064 100755
--- a/cron-jobs/integrity-check
+++ b/cron-jobs/integrity-check
@@ -3,12 +3,11 @@
basedir="$(dirname $0)"
if [ $# -ne 3 ]; then
- echo "usage: $(basename $0) <repo>[,<repo>,...] <arch> <mailto>" >2
+ echo "usage: $(basename $0) <repo>[,<repo>,...] <arch> <mailto>" >&2
exit 1
fi
-$basedir/cron-jobs/check_archlinux/check_packages.py \
+$basedir/check_archlinux/check_packages.py \
--repos="$1" \
- --abs-tree="/srv/abs/rsync/$2" --arch="$1" |\
- $basedir/cron-jobs/devlist-mailer \
- "Integrity Check $2: $1" "$3"
+ --abs-tree="/srv/abs/rsync/$2" --arch="$2" |\
+ $basedir/devlist-mailer "Integrity Check $2: $1" "$3"