[MacPorts] Scripts/testport_script modified
MacPorts
noreply at macports.org
Tue Apr 24 02:51:55 PDT 2012
Changed page "Scripts/testport_script" by kato23 at mailinator.com from 84.163.49.131*
Page URL: <https://trac.macports.org/wiki/Scripts/testport_script>
Diff URL: <https://trac.macports.org/wiki/Scripts/testport_script?action=diff&version=3>
Revision 3
-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: Scripts/testport_script
=========================================================================
--- Scripts/testport_script (version: 2)
+++ Scripts/testport_script (version: 3)
@@ -21,6 +21,7 @@
# usage:
# testport gawk
# testport -n -l /opt/macports-gnu gawk
+# testport -c -r -e -v clang-3.1
show_usage() {
@@ -308,10 +309,12 @@
fi
-if [[ $verbose -eq 1 ]]; then
- port -f -v install "$@"
-elif [[ $debug -eq 1 ]]; then
- port -f -d install "$@"
+if [[ $extract -eq 1 ]] && [[ $verbose -eq 1 ]]; then
+ port -f clean --all "$@"
+ port -f -v extract "$@"
+elif [[ $extract -eq 1 ]] && [[ $debug -eq 1 ]]; then
+ port -f clean --all "$@"
+ port -f -v extract "$@"
elif [[ $extract -eq 1 ]]; then
port -f clean --all "$@"
port -f extract "$@"
@@ -322,6 +325,10 @@
port -f -s -d install "$@"
elif [[ $build_source -eq 1 ]]; then
port -f -s install "$@"
+elif [[ $verbose -eq 1 ]]; then
+ port -f -v install "$@"
+elif [[ $debug -eq 1 ]]; then
+ port -f -d install "$@"
else
port -f install "$@"
fi
-------8<------8<------8<------8<------8<------8<------8<------8<--------
* The IP shown here might not mean anything if the user or the server is
behind a proxy.
--
MacPorts <http://www.macports.org/>
Ports system for Mac OS
This is an automated message. Someone at http://www.macports.org/ added your email
address to be notified of changes on Scripts/testport_script. If it was not you, please
report to .
More information about the macports-changes
mailing list