X-Git-Url: http://gitweb/?a=blobdiff_plain;f=pkgmk-cross;h=888bf02dc705d1dba26cdad8748017867a0ba386;hb=refs%2Fheads%2F3.3;hp=a3c64ba7038f105f65b170215c4f0adae931d053;hpb=c6f15699aa06f450985c3d67441bfb7250c65e57;p=pkgutils-cross.git diff --git a/pkgmk-cross b/pkgmk-cross index a3c64ba..888bf02 100755 --- a/pkgmk-cross +++ b/pkgmk-cross @@ -29,8 +29,16 @@ if [ ! -z "$PKGMK_OPTIMIZE" ]; then fi fi +if [ ! -x $PKGMK ]; then + chmod +x $PKGMK +fi + $PKGMK -cf $PKGMK_CONF $PKGMK_ARGS +exit_code=$? rm -f $TMP_CONF +# Pass along the exit code of pkgmk. +exit $exit_code + # End of file