Commits

Uelsk8s committed 85d3f99

make pdftk exit on fail

Comments (0)

Files changed (1)

var/vabs/pdftk/src/pdftk.SlackBuild

 cd $NAME
   # Hardcode "-j1" since this fails with multiple make jobs
   make OPT="$SLKCFLAGS" -j1 -f Makefile.Slackware-13.1 || exit 1
-  mkdir -p $PKG/usr/{bin,man/man1,doc/$NAME-$VERSION}
-  cp -a pdftk $PKG/usr/bin
+  mkdir -p $PKG/usr/{bin,man/man1,doc/$NAME-$VERSION} || exit 1
+  cp -a pdftk $PKG/usr/bin || exit 1
   strip --strip-unneeded $PKG/usr/bin/pdftk 2> /dev/null
 cd ..