Exit with the previous commands exit status incase it failes: In this case copying the aegisub binary into the bundle.
Originally committed to SVN as r3157.
This commit is contained in:
parent
51c7ead1b8
commit
e2e859b8f4
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ echo "---- Binaries ----"
|
||||||
if test src/${AEGISUB_BIN} -nt src/.libs/${AEGISUB_BIN}; then
|
if test src/${AEGISUB_BIN} -nt src/.libs/${AEGISUB_BIN}; then
|
||||||
cp -v src/${AEGISUB_BIN} "${PKG_DIR}/Contents/MacOS/aegisub"
|
cp -v src/${AEGISUB_BIN} "${PKG_DIR}/Contents/MacOS/aegisub"
|
||||||
else
|
else
|
||||||
cp -v src/.libs/${AEGISUB_BIN} "${PKG_DIR}/Contents/MacOS/aegisub"
|
cp -v src/.libs/${AEGISUB_BIN} "${PKG_DIR}/Contents/MacOS/aegisub" || exit $?
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo cc -o "${PKG_DIR}/Contents/MacOS/restart-helper scripts/osx-bundle-restart-helper.c"
|
echo cc -o "${PKG_DIR}/Contents/MacOS/restart-helper scripts/osx-bundle-restart-helper.c"
|
||||||
|
|
Loading…
Reference in a new issue