Eliminate "mungepath". Improve performance and assure script will not touch disk.

This commit is contained in:
tlimoncelli@stackexchange.com
2014-09-12 16:36:04 +00:00
parent 5f15527d56
commit b7217e197d

View File

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