[117617] trunk/base/src/port

cal at macports.org cal at macports.org
Wed Mar 5 12:47:02 PST 2014


Revision: 117617
          https://trac.macports.org/changeset/117617
Author:   cal at macports.org
Date:     2014-03-05 12:47:02 -0800 (Wed, 05 Mar 2014)
Log Message:
-----------
port/port*.tcl: remove exec hack whose only purpose seems to have been emulating /usr/bin/env (which is obsolete because we use absolute paths to TCLSH now)

See http://wiki.tcl.tk/812 for discussion.

Modified Paths:
--------------
    trunk/base/src/port/port.tcl
    trunk/base/src/port/portindex.tcl
    trunk/base/src/port/portmirror.tcl

Modified: trunk/base/src/port/port.tcl
===================================================================
--- trunk/base/src/port/port.tcl	2014-03-05 20:42:10 UTC (rev 117616)
+++ trunk/base/src/port/port.tcl	2014-03-05 20:47:02 UTC (rev 117617)
@@ -1,8 +1,5 @@
-#!/bin/sh
+#!@TCLSH@
 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
-# Run the Tcl interpreter \
-exec @TCLSH@ "$0" "$@"
-# port.tcl
 # $Id$
 #
 # Copyright (c) 2004-2013 The MacPorts Project

Modified: trunk/base/src/port/portindex.tcl
===================================================================
--- trunk/base/src/port/portindex.tcl	2014-03-05 20:42:10 UTC (rev 117616)
+++ trunk/base/src/port/portindex.tcl	2014-03-05 20:47:02 UTC (rev 117617)
@@ -1,8 +1,5 @@
-#!/bin/sh
+#!@TCLSH@
 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
-# Run the Tcl interpreter \
-exec @TCLSH@ "$0" "$@"
-
 # Traverse through all ports, creating an index and archiving port directories
 # if requested
 # $Id$

Modified: trunk/base/src/port/portmirror.tcl
===================================================================
--- trunk/base/src/port/portmirror.tcl	2014-03-05 20:42:10 UTC (rev 117616)
+++ trunk/base/src/port/portmirror.tcl	2014-03-05 20:47:02 UTC (rev 117617)
@@ -1,8 +1,5 @@
-#!/bin/sh
+#!@TCLSH@
 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
-# Run the Tcl interpreter \
-exec @TCLSH@ "$0" "$@"
-# portmirror.tcl
 # $Id$
 #
 # Copyright (c) 2002-2007 The MacPorts Project.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140305/15b11b1f/attachment.html>


More information about the macports-changes mailing list