OSDN Git Service
(root)
/
wvm
/
wvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a790669
)
manpages: check for ronn executable before doing anything
author
scribu
<mail@scribu.net>
Sat, 30 Mar 2013 15:07:01 +0000
(17:07 +0200)
committer
scribu
<mail@scribu.net>
Sat, 30 Mar 2013 15:11:43 +0000
(17:11 +0200)
php/WP_CLI/InternalAssoc.php
patch
|
blob
|
history
diff --git
a/php/WP_CLI/InternalAssoc.php
b/php/WP_CLI/InternalAssoc.php
index
6ceae0b
..
661d282
100644
(file)
--- a/
php/WP_CLI/InternalAssoc.php
+++ b/
php/WP_CLI/InternalAssoc.php
@@
-57,6
+57,10
@@
class InternalAssoc {
}
static function man( $args ) {
+ if ( '' === exec( 'which ronn' ) ) {
+ WP_CLI::error( '`ronn` executable not found.' );
+ }
+
$arg_copy = $args;
$command = WP_CLI::$root;