From: mjwybrow Date: Mon, 9 Apr 2007 04:48:58 +0000 (+0000) Subject: * packaging/macosx/Resources/bin/inkscape: Include the Fink and/or X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=9f970ced559c36040592263846e747282ecfca22;p=inkscape.git * packaging/macosx/Resources/bin/inkscape: Include the Fink and/or DarwinPorts bin directory in the PATH when loading Inkscape on OS X. Patch #1692349. --- 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 -# Inkscape Modifications: Michael Wybrow +# Inkscape Modifications: +# Michael Wybrow +# Jean-Olivier Irisson +# 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"