freebsd-ports/misc/tkcron/files/patch-aa
Cy Schubert 8f8e8a25e6 This port will not work with tclwrapper.
Switch to USE_TK_RUN.
2013-09-25 13:19:44 +00:00

18 lines
582 B
Text

--- 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 /usr/local/bin/wish8.5 $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} {