Revision
117617
Author
cal@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

Diff

Modified: trunk/base/src/port/port.tcl (117616 => 117617)


--- 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 (117616 => 117617)


--- 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 (117616 => 117617)


--- 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.