Files
blackbox/tools/profile.d-usrblackbox.sh
tlimoncelli@stackexchange.com 8db38905de Reduce size of profile.d-usrblackbox.sh to below 132 bytes.
Add test framework to make sure we don't break bash or sh.
2014-09-12 16:17:35 +00:00

6 lines
129 B
Bash

x=/usr/blackbox/bin
if type pathmunge >/dev/null 2>&1;then
pathmunge $x
elif ! grep -sqF :$x:<<<":$PATH:";then
PATH="$x:$PATH"
fi