From: Nicolas Boisselier Date: Tue, 9 Jun 2015 09:11:18 +0000 (+0100) Subject: osx X-Git-Url: https://git.nbdom.net/?a=commitdiff_plain;h=02f4d00db177bdabc9d726e4d13116ba2ca939eb;p=nb.git osx --- diff --git a/bin/nb-update b/bin/nb-update index e2152a6e..e1a450c3 100755 --- a/bin/nb-update +++ b/bin/nb-update @@ -41,7 +41,7 @@ for repo in \ if [ "$USER" == "$user" ]; then git pull else - su - $user -c "git pull" + su - $user -c "cd \"$repo\" && git pull" fi done