| 1 | #!/bin/shscip-shell filesystem . . `/bin/sh`. |
| 2 | |
| 3 | # This definition is changed on install to match the |
| 4 | # executable name set in the makefile |
| 5 | GS_EXECUTABLE=gs |
| 6 | gs="`dirnamescip-shell system . . dirname. \"$0\"`/$GS_EXECUTABLE" |
| 7 | if testscip-shell system . . test. ! -x "$gs"; then |
| 8 | gs="$GS_EXECUTABLE" |
| 9 | fi |
| 10 | GS_EXECUTABLE="$gs" |
| 11 | |
| 12 | exec "$GS_EXECUTABLE" -P- -dSAFER -dNODISPLAY "$@" |