Revision: 140551 https://trac.macports.org/changeset/140551 Author: ryandesign@macports.org Date: 2015-09-22 07:13:28 -0700 (Tue, 22 Sep 2015) Log Message: ----------- vercmp: make compatible with MacPorts 2.3+ Modified Paths: -------------- users/ryandesign/scripts/vercmp Modified: users/ryandesign/scripts/vercmp =================================================================== --- users/ryandesign/scripts/vercmp 2015-09-22 13:35:47 UTC (rev 140550) +++ users/ryandesign/scripts/vercmp 2015-09-22 14:13:28 UTC (rev 140551) @@ -1,10 +1,7 @@ -#!/usr/bin/tclsh +#!/usr/bin/env port-tclsh # Runs vercmp with the two version numbers provided to see which is newer. -set prefix /opt/local - -source ${prefix}/share/macports/Tcl/macports1.0/macports_fastload.tcl package require macports 1.0 mportinit