summarylogtreecommitdiffstats
path: root/02-executable.patch
diff options
context:
space:
mode:
Diffstat (limited to '02-executable.patch')
-rw-r--r--02-executable.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/02-executable.patch b/02-executable.patch
new file mode 100644
index 000000000000..bbdd36a4bf87
--- /dev/null
+++ b/02-executable.patch
@@ -0,0 +1,14 @@
+diff --git a/HP-15C.tcl b/HP-15C.tcl
+index 209392b..2990af9 100755
+--- a/HP-15C.tcl
++++ b/HP-15C.tcl
+@@ -1,3 +1,9 @@
++#!/bin/sh
++# the next line restarts using wish \
++TCLLIBPATH="/usr/lib/hp15c/lib" exec wish "$0" "$@"
++
++# ----------------- Make script executable, see https://www.tcl.tk/man/tcl8.3/UserCmd/wish.htm
++
+ # ------------------------------------------------------------------------------
+ #
+ # H E W L E T T - P A C K A R D 15C