File: sensible-zcode-interpreter

package info (click to toggle)
int-fiction 0.3
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 32 kB
  • sloc: makefile: 71; sh: 8
file content (11 lines) | stat: -rw-r--r-- 321 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
#! /bin/bash

shopt -s execfail

exec ${ZIP_INTERPRETER:-${ZCODE_INTERPRETER:-zcode-interpreter}} "$@"
if test "${DISPLAY+set}" = set; then
  exec xzip "$@"
fi
exec frotz "$@"
echo -e "Couldn't find a Zcode interpreter!" 2>&1
echo -e "Set the \$ZCODE_INTERPRETER environment variable to your preferred interpreter." 2>&1