Commit e3e6e0c8 authored by Vitaly Lipatov's avatar Vitaly Lipatov

rpmbph: use -w more correctly

parent b953e836
...@@ -96,7 +96,7 @@ fi ...@@ -96,7 +96,7 @@ fi
[ -n "$VERBOSE" ] && echo "DISTRVERSION=$DISTRVERSION LISTRPMARGS=$LISTRPMARGS" [ -n "$VERBOSE" ] && echo "DISTRVERSION=$DISTRVERSION LISTRPMARGS=$LISTRPMARGS"
if [ -z "$BUILDCOMMAND" ] ; then if [ -z "$BUILDCOMMAND" ] ; then
[ -n "$NOBUILD" ] && BUILDCOMMAND="$ETERBUILDBIN/rpmbs $GIRARHOST" || BUILDCOMMAND="$ETERBUILDBIN/rpmbsh $GIRARHOST" [ -n "$NOBUILD" ] && BUILDCOMMAND="$ETERBUILDBIN/rpmbs $GIRARHOST -w" || BUILDCOMMAND="$ETERBUILDBIN/rpmbsh $GIRARHOST -w"
fi fi
# set SPECDIR from LISTNAMES if empty (need for is_gear below) # set SPECDIR from LISTNAMES if empty (need for is_gear below)
...@@ -203,7 +203,7 @@ for i in $LISTBUILT ; do ...@@ -203,7 +203,7 @@ for i in $LISTBUILT ; do
docmd $ETERBUILDBIN/rpmbps -b $BINARYREPO $SPECNAME docmd $ETERBUILDBIN/rpmbps -b $BINARYREPO $SPECNAME
docmd $BUILDCOMMAND -b $BINARYREPO -w $LISTRPMARGS $SPECNAME || fatal "Can't build" docmd $BUILDCOMMAND -b $BINARYREPO $LISTRPMARGS $SPECNAME || fatal "Can't build"
# move results to common place # move results to common place
cp -fv $RPMTOPDIR/SRPMS/*.rpm $RPMDIR/SRPMS/ 2>/dev/null cp -fv $RPMTOPDIR/SRPMS/*.rpm $RPMDIR/SRPMS/ 2>/dev/null
......
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