]> git.nbdom.net Git - nb.git/commitdiff
use nb-repo-dirs
authorNicolas Boisselier <nicolas.boisselier@gmail.com>
Sun, 17 Jan 2016 22:46:34 +0000 (23:46 +0100)
committerNicolas Boisselier <nicolas.boisselier@gmail.com>
Sun, 17 Jan 2016 22:46:34 +0000 (23:46 +0100)
bin/nb-update
etc/profile.d/functions

index 68ac294c261c50026a088642f96ed405aa8c115c..c946717c7aebdf8157dbf98d08a4c74293c0316a 100755 (executable)
@@ -19,7 +19,7 @@ ex=0
 printf '#!%s\n%s\n' `which sh` 'ssh -o BatchMode=yes $@' > "$TMP" && chmod 755 "$TMP"
 export GIT_SSH="$TMP"
 
-for repo in $(nb_repo_dirs); do
+for repo in $(nb-repo-dirs); do
 
 # NB 17.01.16   # Check dir
   [ -d "$repo/.git" ] || continue
index a54346fd39beeb6f9b16a61a97574f49bd987fe5..5ac5036e18b1f50d6b01fd80391f82a865ee7f31 100644 (file)
@@ -319,7 +319,7 @@ jpg2avi() {
 }
 
 nb_repo_dirs() {
-  if [ -e $NB_ROOT/nb-repo-dirs ]; then
+  if [ -e $NB_ROOT/bin/nb-repo-dirs ]; then
     $NB_ROOT/nb-repo-dirs
     return
   fi