diff options
author | Matthias Andree <matthias.andree@gmx.de> | 2004-06-19 02:13:06 +0000 |
---|---|---|
committer | Matthias Andree <matthias.andree@gmx.de> | 2004-06-19 02:13:06 +0000 |
commit | 7127ff22e388f29f217f125ac9ef11dd4f5a84b4 (patch) | |
tree | 0ba820dbecb2f66c6509f292a2b1615e9cfb5125 /dist-tools/shipper | |
parent | 8da5725d04fae61458a4944de12207256e8dbc2a (diff) | |
download | fetchmail-7127ff22e388f29f217f125ac9ef11dd4f5a84b4.tar.gz fetchmail-7127ff22e388f29f217f125ac9ef11dd4f5a84b4.tar.bz2 fetchmail-7127ff22e388f29f217f125ac9ef11dd4f5a84b4.zip |
Try fallback to rpm (in case rpm is version 3).
svn path=/trunk/; revision=3905
Diffstat (limited to 'dist-tools/shipper')
-rwxr-xr-x | dist-tools/shipper/buildrpms | 3 |
1 files changed, 2 insertions, 1 deletions
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' ] |