From 3e227dfd17b570a9222b7d62565b7cc6ba8a14aa Mon Sep 17 00:00:00 2001 From: Nicolas Boisselier Date: Sun, 17 Feb 2019 21:24:09 +0000 Subject: [PATCH] etc/profile --- etc/profile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/etc/profile b/etc/profile index 2f8cddee..bee6b4f3 100755 --- a/etc/profile +++ b/etc/profile @@ -66,6 +66,8 @@ else for i in /*/*/etc/profile.d/nb.sh /*/*/*/etc/profile.d/nb.sh; do cd "$(dirname "$i")"/.. 1>/dev/null 2>&1 || continue + + # Look for this current file [ -e profile ] && _nb_file_has_tag profile || continue NB_ETC_DIR=$PWD #|| unset NB_ETC_DIR @@ -103,7 +105,7 @@ else nb_debug "NB_ROOT=$NB_ROOT" # - # Profiles + # Repo's Profiles # # NB 09.01.18 $(true || nb_repos_ls "etc/profile" "etc/profile.d/*.sh" | awk '!/^\/etc\// && $0 != "'${NB_ROOT}/etc/profile'"') \ if [ -n "$NB_ROOT" ]; then -- 2.47.3