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

small sisyphus_check

parent abe0dd20
...@@ -106,9 +106,7 @@ fi ...@@ -106,9 +106,7 @@ fi
# Skip checking for tar arg # Skip checking for tar arg
if [ -n "${LISTNAMES/*tar/}" ] ; then if [ -n "${LISTNAMES/*tar/}" ] ; then
echog -n "Checking with sisyphus_check (with $HASHER_NOCHECK skipping)... " docmd sisyphus_check --no-check=$HASHER_NOCHECK --files $LISTNAMES || fatal "check for sisyphus failed"
sisyphus_check --no-check=$HASHER_NOCHECK --files $LISTNAMES || fatal "check for sisyphus failed"
echog "OK"
fi fi
# export OURAPTCONF with temp. file contains correct path to sources.list # export OURAPTCONF with temp. file contains correct path to sources.list
......
...@@ -338,15 +338,15 @@ fi ...@@ -338,15 +338,15 @@ fi
############################################ ############################################
echog "Changing permissions..." echog "Changing permissions..."
chmod 644 -- $LISTBUILT || fatal "can't chmod" chmod 644 -- $LISTBUILT || fatal "can't chmod"
echog -n "Checking with sisyphus_check..."
# TODO: check for ALT specific # TODO: check for ALT specific
# skip some checking for src.rpm if it is local upload # skip some checking for src.rpm if it is local upload
CHECK_OPTIONS="" CHECK_OPTIONS=""
[ -n "${UPLOADNOW}" ] || CHECK_OPTIONS="--no-check=$HASHER_NOCHECK" [ -n "${UPLOADNOW}" ] || CHECK_OPTIONS="--no-check=$HASHER_NOCHECK"
test -n "$NOCHECK" || sisyphus_check $CHECK_OPTIONS --files $LISTBUILT || fatal "sisyphus check failed" if [ -z "$NOCHECK" ] ; then
echog "OK" docmd sisyphus_check $CHECK_OPTIONS --files $LISTBUILT || fatal "sisyphus check failed"
fi
# due rpm's find-req # due rpm's find-req
RPMLINT=rpmlint 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