Browse files

Fix bugs in install script introduced after newproject was added

  • Loading branch information...
1 parent b241990 commit 1a6decdc33acf3c108af5cb0504a20224a034f4d @sminnee sminnee committed Mar 1, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 install
View
3 install
@@ -13,4 +13,5 @@ This script is designed for SilverStripe.\n";
$buildtoolsRelDir = substr($buildtoolsDir, strlen($dir)+1);
-passhtru("./newproject " . escapeshellarg($dir) . " " . escapeshellarg($buildtoolsRelDir));
+$scriptDir = dirname(__FILE__);
+passthru("$scriptDir/newproject " . escapeshellarg($dir) . " " . escapeshellarg($buildtoolsRelDir));

0 comments on commit 1a6decd

Please sign in to comment.