Fix git pull from the wrong directory :O
authorMagnus Hagander <magnus@hagander.net>
Sun, 13 Apr 2014 12:59:47 +0000 (14:59 +0200)
committerMagnus Hagander <magnus@hagander.net>
Sun, 13 Apr 2014 12:59:47 +0000 (14:59 +0200)
tools/update/update.sh

index 73c3e455970fbf516bde10008408e880ddd1e26a..53988c9be3ac6071cc94100cbd2e86ac6204dc04 100755 (executable)
@@ -20,6 +20,7 @@ git pull -q >/dev/null 2>&1
 
 
 # Now do a conditional update of the main repo
+cd $UPDDIR
 
 # Sleep 10 seconds to avoid interfering with the automirror scripts that
 # also run exactly on the minute.