[MacPorts] CommittersTipsAndTricks modified
MacPorts
noreply at macports.org
Tue Mar 17 23:54:12 PDT 2009
Changed page "CommittersTipsAndTricks" by raimue at macports.org from 91.11.250.109*
Page URL: <http://trac.macports.org/wiki/CommittersTipsAndTricks>
Diff URL: <http://trac.macports.org/wiki/CommittersTipsAndTricks?action=diff&version=12>
Revision 12
Comment: Simplify some conditions
-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: CommittersTipsAndTricks
=========================================================================
--- CommittersTipsAndTricks (version: 11)
+++ CommittersTipsAndTricks (version: 12)
@@ -29,7 +29,7 @@
local url=$1
local dir=$2
- if [[ -z $dir ]]; then
+ if [ -z $dir ]; then
dir=.
fi
@@ -39,7 +39,7 @@
function trac-patch {
local cmd=""
while [[ $1 == -* ]]; do
- if [[ "$1" == "--" ]]; then
+ if [ "$1" == "--" ]; then
break
fi
@@ -47,7 +47,7 @@
shift
done
- if [[ -z $cmd ]]; then
+ if [ -z $cmd ]; then
cmd="-p0"
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 CommittersTipsAndTricks. If it was not you, please
report to .
More information about the macports-changes
mailing list