From 7127ff22e388f29f217f125ac9ef11dd4f5a84b4 Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Sat, 19 Jun 2004 02:13:06 +0000 Subject: Try fallback to rpm (in case rpm is version 3). svn path=/trunk/; revision=3905 --- dist-tools/shipper/buildrpms | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'dist-tools/shipper') diff --git a/dist-tools/shipper/buildrpms b/dist-tools/shipper/buildrpms index 22086d01..e3c08c2b 100755 --- a/dist-tools/shipper/buildrpms +++ b/dist-tools/shipper/buildrpms @@ -25,7 +25,8 @@ echo "%_topdir $TMPDIR" >"$MACROFILE" echo "%_topdir $TMPDIR" >"$MACROFILE" # build RPMs -rpmbuild --rcfile "$RCFILE" $ARCH -ta $TARBALL +rpmbuild --rcfile "$RCFILE" $ARCH -ta $TARBALL \ +|| rpm --rcfile "$RCFILE" $ARCH -ta $TARBALL status=$? if [ $status = '0' ] -- cgit v1.2.3