summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruen@suse.de>2004-08-13 17:53:37 +0000
committerAndreas Gruenbacher <agruen@suse.de>2004-08-13 17:53:37 +0000
commita2e57891f511745ee3589d1347cbaa2a65c6aae2 (patch)
tree633598c089df13814eff59057d7af5fe377b5d07 /scripts
parent30870bd7cd1daa0c3a68df5e8f08c1c44542d70d (diff)
downloadquilt-a2e57891f511745ee3589d1347cbaa2a65c6aae2.tar.gz
- setup command: detect errors when running ``rpm -bp'' and
improve the messages of ``quilt setup''.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/inspect.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/inspect.in b/scripts/inspect.in
index 4fcfba3..d77b375 100644
--- a/scripts/inspect.in
+++ b/scripts/inspect.in
@@ -174,8 +174,10 @@ ln -s wrapper $tmpdir/bin/tar
set -- @RPMBUILD@
echo -n "### ${1##*/}: " >&4
-"${RPM[@]}" --nodeps -bp "$specfile" < /dev/null > /dev/null
+"${RPM[@]}" --nodeps -bp "$specfile" < /dev/null >&2
+status=$?
echo >&4
+exit $status
### Local Variables:
### mode: shell-script
### End: