diff options
Diffstat (limited to 'bin/ignore')
-rwxr-xr-x | bin/ignore | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/bin/ignore b/bin/ignore new file mode 100755 index 0000000..2e795f4 --- /dev/null +++ b/bin/ignore @@ -0,0 +1,24 @@ +# non-ksh script for the nmake ignore prefix +# @(#)ignore (AT&T Research) 1992-08-11 + +case $-:$BASH_VERSION in +*x*:[0123456789]*) : bash set -x is broken :; set +ex ;; +esac + +while : +do case $# in + 0) exit 0 ;; + esac + case $1 in + *=*) case $RANDOM in + $RANDOM)`echo $1 | sed "s/\\([^=]*\\)=\\(.*\\)/eval \\1='\\2'; export \\1/"` ;; + *) export "$1" ;; + esac + shift + ;; + *) break + ;; + esac +done +"$@" +exit 0 |