Commit 04b5ab57 by Jim Wilson

(EXINIT): Clear it to avoid problems with bad values.

From-SVN: r2134
parent 3629f741
...@@ -60,6 +60,10 @@ cd $LIB; LIB=`pwd` ...@@ -60,6 +60,10 @@ cd $LIB; LIB=`pwd`
# unrecognizable. # unrecognizable.
TERM=dumb TERM=dumb
export TERM export TERM
# This prevents /bin/ex from failing if the EXINIT environment variable
# was set to something invalid.
EXINIT=""
export EXINIT
echo 'Building fixincludes in ' ${LIB} echo 'Building fixincludes in ' ${LIB}
......
...@@ -18,6 +18,10 @@ INPUT=${2-${INPUT-/usr/include}} ...@@ -18,6 +18,10 @@ INPUT=${2-${INPUT-/usr/include}}
# unrecognizable. # unrecognizable.
TERM=unknown TERM=unknown
export TERM export TERM
# This prevents /bin/ex from failing if the EXINIT environment variable
# was set to something invalid.
EXINIT=""
export EXINIT
# Directory in which to store the results. # Directory in which to store the results.
LIB=${1?"fixincludes: output directory not specified"} LIB=${1?"fixincludes: output directory not specified"}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment