Made 'medit' command work from inside a bundle

This commit is contained in:
Yevgen Muntyan 2008-05-06 15:07:11 -05:00
parent 6caf04508d
commit ad3d3f9270
3 changed files with 7 additions and 3 deletions

View File

@ -3,3 +3,5 @@
export PYTHONHOME="$bundle_res"
export PATH="$bundle_bin:$PATH"
export BUNDLE_CONTENTS="$bundle_contents"

3
medit/mac/medit Executable file
View File

@ -0,0 +1,3 @@
#! /bin/sh
exec "$BUNDLE_CONTENTS/MacOS/`basename $0`-bin" "$@"

View File

@ -83,9 +83,8 @@
/Users/muntyan/.gtkrc-2.0
</data>
<data dest="${bundle}/Contents/Resources/environment.sh">
${project}/environment.sh
</data>
<data dest="${bundle}/Contents/Resources/environment.sh">${project}/environment.sh</data>
<data dest="${bundle}/Contents/Resources/bin/medit">${project}/medit</data>
<!-- Icon themes to copy. The "icons" property can be either of
"auto", "all", or "none". All or none should be