summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormjwybrow <mjwybrow@users.sourceforge.net>2007-04-09 04:48:58 +0000
committermjwybrow <mjwybrow@users.sourceforge.net>2007-04-09 04:48:58 +0000
commitb8932b3b5556ec197b6d450d9a75475b87affa38 (patch)
tree32a24c852f41664da0997dab1df0c9739e58a49e
parent* src/isnan.h: Fix isnan definition for GCC 3.x on OS X. Patch #1693278. (diff)
downloadinkscape-b8932b3b5556ec197b6d450d9a75475b87affa38.tar.gz
inkscape-b8932b3b5556ec197b6d450d9a75475b87affa38.zip
* packaging/macosx/Resources/bin/inkscape: Include the Fink and/or
DarwinPorts bin directory in the PATH when loading Inkscape on OS X. Patch #1692349. (bzr r2836)
-rwxr-xr-xpackaging/macosx/Resources/bin/inkscape13
1 files changed, 12 insertions, 1 deletions
diff --git a/packaging/macosx/Resources/bin/inkscape b/packaging/macosx/Resources/bin/inkscape
index f26369cf7..291952d45 100755
--- a/packaging/macosx/Resources/bin/inkscape
+++ b/packaging/macosx/Resources/bin/inkscape
@@ -1,12 +1,23 @@
#!/bin/sh
#
# Author: Aaron Voisine <aaron@voisine.org>
-# Inkscape Modifications: Michael Wybrow <mjwybrow@users.sourceforge.net>
+# Inkscape Modifications:
+# Michael Wybrow <mjwybrow@users.sourceforge.net>
+# Jean-Olivier Irisson <jo.irisson@gmail.com>
+#
CWD="`(cd \"\`dirname \\\"$0\\\"\`\"; echo $PWD)`"
TOP="`dirname \"$CWD\"`"
export DYLD_LIBRARY_PATH="$TOP/lib"
+if [ -d /sw/bin ]
+then
+ export PATH="/sw/bin/:$PATH"
+fi
+if [ -d /opt/local/bin ]
+then
+ export PATH="/opt/local/bin:$PATH"
+fi
export PATH="$CWD:$PATH"
export PANGO_RC_FILE="$HOME/.inkscape-etc/pangorc"
export FONTCONFIG_PATH="$TOP/etc/fonts"