From 94c0bdd033bc62cd8efed1e910b7aabaa3c6281c Mon Sep 17 00:00:00 2001 From: Dave Olsen Date: Fri, 5 Jul 2013 11:06:39 -0400 Subject: [PATCH] the default instructions for CLI how include the exact path to the builder --- builder/builder.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/builder/builder.php b/builder/builder.php index d1c8fcc..6b328a6 100644 --- a/builder/builder.php +++ b/builder/builder.php @@ -59,9 +59,9 @@ if (php_sapi_name() == 'cli') { // when in doubt write out the usage print "\n"; print "Usage:\n\n"; - print " php builder.php -g\n"; + print " php ".$_SERVER["PHP_SELF"]." -g\n"; print " Iterates over the 'source' directories & files and generates the entire site a single time.\n\n"; - print " php builder.php -w\n"; + print " php ".$_SERVER["PHP_SELF"]." -w\n"; print " Generates the site like the -g flag and then watches for changes in the 'source' directories &\n"; print " files. Will re-generate files if they've changed.\n\n";