From ba68d98cf97d96f0f5bfba0e32af59e983b24a37 Mon Sep 17 00:00:00 2001 From: Nicolas Boisselier Date: Sun, 17 Jan 2016 23:46:34 +0100 Subject: [PATCH] use nb-repo-dirs --- bin/nb-update | 2 +- etc/profile.d/functions | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 -- 2.47.3