| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1280,7 +1280,8 @@ protected boolean exportApplication(File destFolder, | |||
| 1280 | 1280 | // isn't used when exporting for Unix. | |
| 1281 | 1281 | pw.print("#!/bin/sh\n\n"); | |
| 1282 | 1282 | //ps.print("APPDIR=`dirname $0`\n"); | |
| 1283 | - pw.print("APPDIR=$(dirname \"$0\")\n"); // more posix compliant | ||
| 1283 | + pw.print("APPDIR=$(readlink -f \"$0\")\n"); //Allow Symlinks | ||
| 1284 | + pw.print("APPDIR=$(dirname \"$APPDIR\")\n"); // more posix compliant | ||
| 1284 | 1285 | // another fix for bug #234, LD_LIBRARY_PATH ignored on some platforms | |
| 1285 | 1286 | //ps.print("LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$APPDIR\n"); | |
| 1286 | 1287 | if (embedJava) { | |
| Back | FazBrowse Home | New Git URL |
0 commit comments