]> git.pld-linux.org Git - packages/rpm-build-tools.git/commitdiff
- exit early if adapter failed
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 7 Sep 2005 18:20:59 +0000 (18:20 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    builder.sh -> 1.327

builder.sh

index 49ca4f3273412c06ff6638de79eea1a9a369652e..1342533b835ab6f0dac8ad6ed197ff013367734e 100644 (file)
@@ -1394,7 +1394,7 @@ adapterize()
         cd "$SPECS_DIR"
         local tmpdir
         tmpdir=$(mktemp -d ${TMPDIR:-/tmp}/adapter-XXXXXX) || exit
-        awk -f adapter.awk $SPECFILE > $tmpdir/$SPECFILE
+        awk -f adapter.awk $SPECFILE > $tmpdir/$SPECFILE || exit
 
         if [ "`diff --brief $SPECFILE $tmpdir/$SPECFILE`" ] ; then
                  diff -u $SPECFILE $tmpdir/$SPECFILE > $tmpdir/$SPECFILE.diff
This page took 0.119329 seconds and 4 git commands to generate.