Commit 8c93b2d3 authored by Vitaly Lipatov's avatar Vitaly Lipatov

fix some docmd again

parent 7c5d14a4
......@@ -102,7 +102,8 @@ do
echog "Build in hasher: $i (arg: $HASHERARG --build-args \"$BUILDARGS\", distro: $MENV, hasherdir: $HASHERDIR)"
# Note: hasher is already use renice for low priority
(docmd $HSH $HASHERARG --build-args "$BUILDARGS" -- $HASHERDIR $i 2>&1 || touch $LOGFILE.failed) | tee -a $LOGFILE
showcmd $HSH $HASHERARG --build-args "$BUILDARGS" -- $HASHERDIR $i
($HSH $HASHERARG --build-args "$BUILDARGS" -- $HASHERDIR $i 2>&1 || touch $LOGFILE.failed) | tee -a $LOGFILE
test -L $HASHERDIR/BUILD || ln -s chroot/usr/src/RPM/BUILD $HASHERDIR/
if [ -f $LOGFILE.failed ] ; then
RESULT=1
......
......@@ -97,7 +97,7 @@ uni_buildreq()
$NICE $GEARBUILDREQ $BUILDREQPARAM --commit -- "$SPECNAME" $@ || RET=$?
else
showcmd buildreq $BUILDREQPARAM "$SPECNAME" $@
docmd $NICE buildreq $BUILDREQPARAM "$SPECNAME" $@ || RET=$?
$NICE buildreq $BUILDREQPARAM "$SPECNAME" $@ || RET=$?
fi
return $RET
}
......
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