summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xpackaging/macosx/Resources/bin/inkscape9
1 files changed, 9 insertions, 0 deletions
diff --git a/packaging/macosx/Resources/bin/inkscape b/packaging/macosx/Resources/bin/inkscape
index 291952d45..a97036ebc 100755
--- a/packaging/macosx/Resources/bin/inkscape
+++ b/packaging/macosx/Resources/bin/inkscape
@@ -10,10 +10,19 @@ CWD="`(cd \"\`dirname \\\"$0\\\"\`\"; echo $PWD)`"
TOP="`dirname \"$CWD\"`"
export DYLD_LIBRARY_PATH="$TOP/lib"
+# add /usr/local/bin which, though standard, don't seem to be in the PATH
+PATH="/usr/local/bin:$PATH"
+# add python from MacPython http://homepages.cwi.nl/~jack/macpython/macpython-osx.html
+if [ -d /Library/Frameworks/Python.framework/Versions/Current/bin ]
+then
+ export PATH="/Library/Frameworks/Python.framework/Versions/Current/bin:$PATH"
+fi
+# add Fink
if [ -d /sw/bin ]
then
export PATH="/sw/bin/:$PATH"
fi
+# add MacPorts (former DarwinPorts)
if [ -d /opt/local/bin ]
then
export PATH="/opt/local/bin:$PATH"