Commit 649bbe59 authored by Vitaly Lipatov's avatar Vitaly Lipatov

small sisyphus_check

parent abe0dd20
......@@ -106,9 +106,7 @@ fi
# Skip checking for tar arg
if [ -n "${LISTNAMES/*tar/}" ] ; then
echog -n "Checking with sisyphus_check (with $HASHER_NOCHECK skipping)... "
sisyphus_check --no-check=$HASHER_NOCHECK --files $LISTNAMES || fatal "check for sisyphus failed"
echog "OK"
docmd sisyphus_check --no-check=$HASHER_NOCHECK --files $LISTNAMES || fatal "check for sisyphus failed"
fi
# export OURAPTCONF with temp. file contains correct path to sources.list
......
......@@ -338,15 +338,15 @@ fi
############################################
echog "Changing permissions..."
chmod 644 -- $LISTBUILT || fatal "can't chmod"
echog -n "Checking with sisyphus_check..."
# TODO: check for ALT specific
# skip some checking for src.rpm if it is local upload
CHECK_OPTIONS=""
[ -n "${UPLOADNOW}" ] || CHECK_OPTIONS="--no-check=$HASHER_NOCHECK"
test -n "$NOCHECK" || sisyphus_check $CHECK_OPTIONS --files $LISTBUILT || fatal "sisyphus check failed"
echog "OK"
if [ -z "$NOCHECK" ] ; then
docmd sisyphus_check $CHECK_OPTIONS --files $LISTBUILT || fatal "sisyphus check failed"
fi
# due rpm's find-req
RPMLINT=rpmlint
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment