r114573 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r114572
|
r114573
|
r114574
>
Date:
20:49, 28 March 2012
Author:
platonides
Status:
ok
Tags:
Comment:
The portable way is to perform a string comparison using
just one equal sign [1]. Bash test accepts ==, but dash
complains about an 'unexpected operator'.
Fixes
r114531
.
1-
http://www.opengroup.org/sud/sud1/xcu/test.htm
Modified paths:
/trunk/tools/code-utils/subgits
(modified) (
history
)
Diff
[
purge
]
Index: trunk/tools/code-utils/subgits
—
—
@@ -13,7 +13,7 @@
14
14
# subgits pull
15
15
16
16
EXTRA=""
17
-if [ "$1" == "-v" ]; then
17
+if [ "$1" = "-v" ]; then
18
18
shift
19
19
EXTRA="-execdir pwd ;"
20
20
fi
Past revisions this follows-up on
Revision
Commit summary
Author
Date
r114531
Show the folder in which we're executing each subcommand...
platonides
17:05, 27 March 2012
Status & tagging log
16:53, 2 April 2012
Nikerabbit
(
talk
|
contribs
)
changed the
status
of r114573
[
removed:
new
added:
ok]