From f77f0fef7182a9757ad26091967a4e19039043ec Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Tue, 4 Oct 2016 04:01:20 +0200 Subject: Support to execute scripts without /root/bin in PATH --- settings.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'settings.sh') diff --git a/settings.sh b/settings.sh index 0f1523c..0525381 100644 --- a/settings.sh +++ b/settings.sh @@ -2,6 +2,7 @@ REPO="/root/repo" REAL="/var/lib/bcfg2" OLDPWD="$(pwd)" BINDIR="$( cd -P "$( dirname -- "$0" )" >/dev/null && pwd )" +PATH="$HOME/bin:$PATH" error() { echo "$@" 1>&2 -- cgit v1.2.3-1-g7c22