+++ /dev/null
-#!/usr/bin/env sh
-#####################################################################
-#
-# Compile, update source code
-# For DEV !!!
-#
-#####################################################################
-set -e
-. $(dirname "$0")/../etc/profile || exit 1; [ -z "$NB_ROOT" ] && exit
-
-cd $NB_ROOT || exit
-share/db/update.sh | sed "s,^,share/db/update.sh: ,"
-
-(
-
-for f in $(grep -rIEl '^\s*.{1,3}SHELL_REPLACE' .); do
- case "$f" in *.bak) continue ;; esac
- echo "shell_replace: Update $f"
- shell_replace -i.bak "$f"
-done
-
-for f in \
- www/*/update.sh \
-; do
- [ -x "$f" ] || continue
- $f | sed "s,^,$f: ,"
-done
-
-) | sed 's, \./,,'
-
-which docker 1> /dev/null && docker run --rm -v $NB_ROOT:$NB_ROOT alpine sh -c "(. $NB_ROOT/etc/profile && nb_repos) >/dev/null && echo Docker: OK"
# etc/profile
#
# To test with busybox:
-# docker run --rm -it -v $NB_ROOT:$NB_ROOT alpine sh -c " . $NB_ROOT/etc/profile --debug && nb_repos && echo OK"
+# docker run --rm -it -v $NB_ROOT:$NB_ROOT bash sh -c " . $NB_ROOT/etc/profile --debug && nb_repos && echo OK"
#
# Load order:
# 1. etc/profile.d/function