[53276] trunk/base/src/macports1.0/macports.tcl
jmr at macports.org
jmr at macports.org
Thu Jul 2 02:22:41 PDT 2009
Revision: 53276
http://trac.macports.org/changeset/53276
Author: jmr at macports.org
Date: 2009-07-02 02:22:39 -0700 (Thu, 02 Jul 2009)
Log Message:
-----------
mportsync: use findBinary for tar
Modified Paths:
--------------
trunk/base/src/macports1.0/macports.tcl
Modified: trunk/base/src/macports1.0/macports.tcl
===================================================================
--- trunk/base/src/macports1.0/macports.tcl 2009-07-02 07:53:05 UTC (rev 53275)
+++ trunk/base/src/macports1.0/macports.tcl 2009-07-02 09:22:39 UTC (rev 53276)
@@ -1657,7 +1657,8 @@
}
}
- if { [catch { system "cd $destdir/.. && tar ${verboseflag} ${extflag} -xf $filename" } error] } {
+ set tar [findBinary tar $macports::autoconf::tar_path]
+ if { [catch { system "cd $destdir/.. && $tar ${verboseflag} ${extflag} -xf $filename" } error] } {
ui_error "Extracting $source failed ($error)"
incr numfailed
continue
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090702/5e30367c/attachment.html>
More information about the macports-changes
mailing list