summaryrefslogtreecommitdiff
path: root/misc/tkcron/files/patch-tkcron.tcl
diff options
context:
space:
mode:
Diffstat (limited to 'misc/tkcron/files/patch-tkcron.tcl')
-rw-r--r--misc/tkcron/files/patch-tkcron.tcl18
1 files changed, 18 insertions, 0 deletions
diff --git a/misc/tkcron/files/patch-tkcron.tcl b/misc/tkcron/files/patch-tkcron.tcl
new file mode 100644
index 000000000000..32c07ce9550b
--- /dev/null
+++ b/misc/tkcron/files/patch-tkcron.tcl
@@ -0,0 +1,18 @@
+--- tkcron.tcl.orig 2013-09-25 00:48:19.068508511 -0700
++++ tkcron.tcl 2013-09-25 06:10:06.670101791 -0700
+@@ -1,4 +1,6 @@
+-#!/usr/local/bin/wish
++#! /bin/sh
++# the next line restarts using wish \
++exec %%WISH%% $0 ${1+"$@"}
+
+ # A simple interface to ease the creation of crontab jobs
+ # Cedric BEUST (beust@sophia.inria.fr)
+@@ -281,6 +283,7 @@
+
+ # Return the crontab string as a list
+ proc parseCrontabFile {str} {
++ set result ""
+ set crontablist [split $str \n]
+ set listlength [llength $crontablist]
+ for {set i 0} {$i < $listlength} {incr i 1} {