Rewrite profile.d-usrblackbox.sh to only use BASH built-ins; retain file size <132 so that it is an "inline" file.

This commit is contained in:
tlimoncelli@stackexchange.com
2014-09-12 16:32:27 +00:00
parent a328dcab59
commit 5f15527d56
2 changed files with 5 additions and 7 deletions

View File

@@ -1,6 +1,4 @@
x=/usr/blackbox/bin
if type pathmunge >/dev/null 2>&1;then
if type pathmunge>/dev/null 2>&1;then
pathmunge $x
elif ! grep -sqF :$x:<<<":$PATH:";then
PATH="$x:$PATH"
fi
else case ":$PATH:" in *:$x:*);;*)PATH="$x:$PATH";;esac;fi