aboutsummaryrefslogtreecommitdiffstats
path: root/shells/ch/files/ch.in
diff options
context:
space:
mode:
Diffstat (limited to 'shells/ch/files/ch.in')
-rw-r--r--shells/ch/files/ch.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/shells/ch/files/ch.in b/shells/ch/files/ch.in
new file mode 100644
index 000000000000..1974bd8825b2
--- /dev/null
+++ b/shells/ch/files/ch.in
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+# This program needs to know where to find its data, so we pass that
+# information using the CHHOME environment variable.
+
+export CHHOME="%%DATADIR%%"
+exec "$CHHOME/bin/ch" "$@"