mirror of https://github.com/odrling/Aegisub
Add some error-checking and exit 1's.
Originally committed to SVN as r2866.
This commit is contained in:
parent
d929e60b4c
commit
8a13a78229
|
@ -78,6 +78,7 @@ for i in `cat po/LINGUAS`; do
|
||||||
cp -v po/${i}.gmo ${PKG_DIR}/Contents/Resources/${i}.lproj/aegisub.mo;
|
cp -v po/${i}.gmo ${PKG_DIR}/Contents/Resources/${i}.lproj/aegisub.mo;
|
||||||
else
|
else
|
||||||
echo "${i}.gmo not found!"
|
echo "${i}.gmo not found!"
|
||||||
|
exit 1
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
@ -98,11 +99,11 @@ else
|
||||||
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
|
||||||
${CC} -o ${PKG_DIR}/Contents/MacOS/restart-helper scripts/osx-bundle-restart-helper.c
|
${CC} -o ${PKG_DIR}/Contents/MacOS/restart-helper scripts/osx-bundle-restart-helper.c || exit $?
|
||||||
|
|
||||||
echo
|
echo
|
||||||
echo "---- Libraries ----"
|
echo "---- Libraries ----"
|
||||||
python scripts/osx-fix-libs.py "${PKG_DIR}/Contents/MacOS/Aegisub"
|
python scripts/osx-fix-libs.py "${PKG_DIR}/Contents/MacOS/Aegisub" || exit $?
|
||||||
|
|
||||||
echo
|
echo
|
||||||
echo "Done Creating ${PKG_DIR}"
|
echo "Done Creating ${PKG_DIR}"
|
||||||
|
|
Loading…
Reference in New Issue