Group :: Educação
RPM: tcltutor
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Patch: tcltutor-3.0beta2-shebang.patch
Download
Download
diff -urN TclTutor.orig/htmllib.tcl TclTutor/htmllib.tcl
--- TclTutor.orig/htmllib.tcl 2008-08-02 06:04:40 +0300
+++ TclTutor/htmllib.tcl 2008-08-08 02:50:09 +0300
@@ -1,6 +1,6 @@
-#!/bin/sh
-# \
-exec wish "$0" ${1+"$@"}
+#!/usr/bin/tclsh
+
+package require Tk
# source debugit.tcl
diff -urN TclTutor.orig/TclTutor.tcl TclTutor/TclTutor.tcl
--- TclTutor.orig/TclTutor.tcl 2008-08-02 06:04:40 +0300
+++ TclTutor/TclTutor.tcl 2008-08-08 02:49:08 +0300
@@ -1,7 +1,4 @@
-package provide app-tcltutor 1.0
-#!/bin/sh
-# \
-exec wish "$0" "$@"
+#!/usr/bin/tclsh
package require Tk