Eliminate "mungepath". Improve performance and assure script will not touch disk.
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user