r78594 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r78593
|
r78594
|
r78595
>
Date:
05:08, 19 December 2010
Author:
mah
Status:
ok
Tags:
Comment:
update install-phpunit.sh so people who read [[Unit_Testing#Installing_PHPUnit|about installing it]] can actually use it.
Modified paths:
/trunk/phase3/tests/phpunit/install-phpunit.sh
(modified) (
history
)
Diff
[
purge
]
Index: trunk/phase3/tests/phpunit/install-phpunit.sh
—
—
@@ -1,5 +1,12 @@
2
2
#!/bin/sh
3
3
4
+has_binary () {
5
+ if [ -z `which $1` ]; then
6
+ return 1
7
+ fi
8
+ return 0
9
+}
10
+
4
11
if [ `id -u` -ne 0 ]; then
5
12
echo '*** ERROR' Must be root to run
6
13
exit 1
Status & tagging log
09:42, 6 March 2011
Hashar
(
talk
|
contribs
)
changed the
status
of r78594
[
removed:
new
added:
ok]