[146643] branches/vcs-fetch/base/src/port1.0/portfetch.tcl
raimue at macports.org
raimue at macports.org
Mon Mar 14 12:09:07 PDT 2016
Revision: 146643
https://trac.macports.org/changeset/146643
Author: raimue at macports.org
Date: 2016-03-14 12:09:07 -0700 (Mon, 14 Mar 2016)
Log Message:
-----------
Revert changes to gitfetch return values
Modified Paths:
--------------
branches/vcs-fetch/base/src/port1.0/portfetch.tcl
Modified: branches/vcs-fetch/base/src/port1.0/portfetch.tcl
===================================================================
--- branches/vcs-fetch/base/src/port1.0/portfetch.tcl 2016-03-14 19:07:43 UTC (rev 146642)
+++ branches/vcs-fetch/base/src/port1.0/portfetch.tcl 2016-03-14 19:09:07 UTC (rev 146643)
@@ -426,7 +426,7 @@
set generatedfile "${distpath}/${git.file}"
if {${git.branch} ne "" && [file isfile "${generatedfile}"]} {
- return "${generatedfile}"
+ return 0
}
set options "-q"
@@ -447,7 +447,7 @@
if {${git.branch} eq ""} {
file rename ${generatedpath} ${worksrcpath}
- return ""
+ return 0
}
# generate tarball
@@ -462,7 +462,7 @@
}
file rename -force "${generatedfile}.TMP" "${generatedfile}"
- return "${generatedfile}"
+ return 0
}
# Perform a mercurial fetch.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160314/7715f3e7/attachment.html>
More information about the macports-changes
mailing list