Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Another fix for update Silly script.

  • Loading branch information...
commit 1b43b886b1ce72a02368ec1a7eed6cfbf03273cd 1 parent 89083ba
authored December 10, 2011

Showing 1 changed file with 3 additions and 1 deletion. Show diff stats Hide diff stats

  1. 4  updateSilly
4  updateSilly
@@ -4,8 +4,10 @@
4 4
 $url = 'https://github.com/asartalo/Silly.git';
5 5
 $depsDir = realpath(__DIR__) . '/vendor/Silly';
6 6
 
  7
+echo "updating Silly in $depsDir\n";
  8
+
7 9
 if (!is_dir($depsDir)) {
8 10
     echo system(sprintf('git clone %s %s', escapeshellarg($url), escapeshellarg($depsDir)));
9 11
 }
10 12
 
11  
-echo system(sprintf('cd %s && git fetch origin', escapeshellarg($depsDir)));
  13
+echo system(sprintf('cd %s && git pull origin master', escapeshellarg($depsDir)));

0 notes on commit 1b43b88

Please sign in to comment.
Something went wrong with that request. Please try again.