Permalink
Browse files

Another fix for update Silly script.

  • Loading branch information...
1 parent 89083ba commit 1b43b886b1ce72a02368ec1a7eed6cfbf03273cd asartalo committed Dec 10, 2011
Showing with 3 additions and 1 deletion.
  1. +3 −1 updateSilly
View
@@ -4,8 +4,10 @@
$url = 'https://github.com/asartalo/Silly.git';
$depsDir = realpath(__DIR__) . '/vendor/Silly';
+echo "updating Silly in $depsDir\n";
+
if (!is_dir($depsDir)) {
echo system(sprintf('git clone %s %s', escapeshellarg($url), escapeshellarg($depsDir)));
}
-echo system(sprintf('cd %s && git fetch origin', escapeshellarg($depsDir)));
+echo system(sprintf('cd %s && git pull origin master', escapeshellarg($depsDir)));

0 comments on commit 1b43b88

Please sign in to comment.