summaryrefslogtreecommitdiffstats
path: root/packaging
diff options
context:
space:
mode:
authorJiHO <jiho-sf@users.sourceforge.net>2007-04-17 18:02:50 +0000
committerjiho-sf <jiho-sf@users.sourceforge.net>2007-04-17 18:02:50 +0000
commit959272fe37e92cff312d6b90c900c003f97cc37d (patch)
tree32f332f65c907ac65a931b5030c75eb98a3d8134 /packaging
parentSwitched spiral toobar to stock GTK+ toolbars (diff)
downloadinkscape-959272fe37e92cff312d6b90c900c003f97cc37d.tar.gz
inkscape-959272fe37e92cff312d6b90c900c003f97cc37d.zip
Added some new checks for directories to add them to the PATH before calling Inkscape binary so that third party tools (python install, anything in /usr/local/bin) get detected. OS X specific.
(bzr r2913)
Diffstat (limited to 'packaging')
-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"