openbsd-ports/devel/tcllib/patches/patch-examples_ntp_rdate_tcl

12 lines
441 B
Plaintext

$OpenBSD: patch-examples_ntp_rdate_tcl,v 1.1 2009/03/19 16:54:32 sthen Exp $
--- examples/ntp/rdate.tcl.orig Mon Jan 19 17:40:34 2009
+++ examples/ntp/rdate.tcl Mon Jan 19 17:41:22 2009
@@ -1,3 +1,7 @@
+#! /bin/sh
+# the next line restarts with tclsh \
+exec tclsh "$0" ${1+"$@"}
+
# rdate.tcl - Copyright (C) 2003 Pat Thoyts <patthoyts@users.sourceforge.net>
#
# This is a sample implementation of the rdate(8) utility written using the