summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: cc55364)
raw | patch | inline | side by side (parent: cc55364)
author | jiho-sf <jiho-sf@users.sourceforge.net> | |
Wed, 13 Feb 2008 22:17:52 +0000 (22:17 +0000) | ||
committer | jiho-sf <jiho-sf@users.sourceforge.net> | |
Wed, 13 Feb 2008 22:17:52 +0000 (22:17 +0000) |
packaging/macosx/osx-app.sh | patch | blob | history | |
packaging/macosx/osx-build.sh | patch | blob | history |
index 8e0970b3956184537da86bd1d69e72a7fd4c6585..ba6b7570d45e318d6590161e6e7e738edcaae5fa 100755 (executable)
help
exit 0 ;;
*)
- echo "Invalid command line option"
+ echo "Invalid command line option: $1"
exit 2 ;;
esac
shift 1
index 487ed2bedb9c72feac3fca3c4e13bcf8bc5a3088..0356d413fa5b65530b32033759f28f0c976ba329 100755 (executable)
-p|--prefix)
INSTALLPREFIX=$2
shift 1 ;;
- -s|-strip)
+ -s|--strip)
STRIP="-s" ;;
-py|--with-python)
PYTHON_MODULES="$2"
shift 1 ;;
*)
- echo "Invalid command line option"
+ echo "Invalid command line option: $1"
exit 2 ;;
esac
shift 1
# Set python command line option (if PYTHON_MODULES location is not empty, then add the python call to the command line, otherwise, stay empty)
if [[ "$PYTHON_MODULES" != "" ]]; then
- PYTHON_MODULES="-py '$PYTHON_MODULES'"
+ PYTHON_MODULES="-py $PYTHON_MODULES"
+ # TODO: fix this: it does not allow for spaces in the PATH under this form and cannot be quoted
fi
# Create app bundle
- ./osx-app.sh $STRIP -b $INSTALLPREFIX/bin/inkscape -p $SRCROOT/Info.plist "$PYTHON_MODULES"
+ ./osx-app.sh $STRIP -b $INSTALLPREFIX/bin/inkscape -p $SRCROOT/Info.plist $PYTHON_MODULES
status=$?
if [[ $status -ne 0 ]]; then
echo -e "\nApplication bundle creation failed"