From: Nicolas Boisselier Date: Sun, 17 Jan 2016 22:46:34 +0000 (+0100) Subject: use nb-repo-dirs X-Git-Url: https://git.nbdom.net/?a=commitdiff_plain;h=ba68d98cf97d96f0f5bfba0e32af59e983b24a37;p=nb.git use nb-repo-dirs --- diff --git a/bin/nb-update b/bin/nb-update index 68ac294c..c946717c 100755 --- a/bin/nb-update +++ b/bin/nb-update @@ -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 diff --git a/etc/profile.d/functions b/etc/profile.d/functions index a54346fd..5ac5036e 100644 --- a/etc/profile.d/functions +++ b/etc/profile.d/functions @@ -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