Ticket #2809: tclsh_exec.diff

File tclsh_exec.diff, 1.6 KB (added by steffen@…, 19 years ago)

patch implementing standard tcl #! exec convention to start tclsh

  • base/src/port/port.tcl

    RCS file: /Volumes/src/cvs/od/proj/darwinports/base/src/port/port.tcl,v
    retrieving revision 1.72
    diff -u -p -r1.72 port.tcl
     
    1 #!@TCLSH@
     1#!/bin/sh
     2#\
     3exec @TCLSH@ "$0" "$@"
    24# port.tcl
    35#
    46# Copyright (c) 2004 Robert Shaw <rshaw@opendarwin.org>
  • base/src/port/portall.tcl

    RCS file: /Volumes/src/cvs/od/proj/darwinports/base/src/port/portall.tcl,v
    retrieving revision 1.25
    diff -u -p -r1.25 portall.tcl
     
    1 #!@TCLSH@
     1#!/bin/sh
     2#\
     3exec @TCLSH@ "$0" "$@"
    24# Traverse through all ports running the supplied target.  If target is
    35# "index" then just print some useful information about each port.
    46
  • base/src/port/portindex.tcl

    RCS file: /Volumes/src/cvs/od/proj/darwinports/base/src/port/portindex.tcl,v
    retrieving revision 1.27
    diff -u -p -r1.27 portindex.tcl
     
    1 #!@TCLSH@
     1#!/bin/sh
     2#\
     3exec @TCLSH@ "$0" "$@"
    24# Traverse through all ports, creating an index and archiving port directories
    35# if requested
    46# $Id: portindex.tcl,v 1.27 2005/02/17 17:08:54 pguyot Exp $