aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Wilson <wilson@gcc.gnu.org>1992-09-15 18:17:03 -0700
committerJim Wilson <wilson@gcc.gnu.org>1992-09-15 18:17:03 -0700
commit04b5ab57e5c30c79476b89791b2c8d09e73a93e7 (patch)
tree06b4652e4456b37e4d0efe3edb0238c18b1094da
parent3629f741df0c95e0dc0b4d8e5e45017026eabb56 (diff)
downloadgcc-04b5ab57e5c30c79476b89791b2c8d09e73a93e7.zip
gcc-04b5ab57e5c30c79476b89791b2c8d09e73a93e7.tar.gz
gcc-04b5ab57e5c30c79476b89791b2c8d09e73a93e7.tar.bz2
(EXINIT): Clear it to avoid problems with bad values.
From-SVN: r2134
-rwxr-xr-xgcc/fixinc.svr44
-rwxr-xr-xgcc/fixincludes4
2 files changed, 8 insertions, 0 deletions
diff --git a/gcc/fixinc.svr4 b/gcc/fixinc.svr4
index 69acd9c..fa0bae0 100755
--- a/gcc/fixinc.svr4
+++ b/gcc/fixinc.svr4
@@ -60,6 +60,10 @@ cd $LIB; LIB=`pwd`
# unrecognizable.
TERM=dumb
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}
diff --git a/gcc/fixincludes b/gcc/fixincludes
index f489a81..3552029 100755
--- a/gcc/fixincludes
+++ b/gcc/fixincludes
@@ -18,6 +18,10 @@ INPUT=${2-${INPUT-/usr/include}}
# unrecognizable.
TERM=unknown
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.
LIB=${1?"fixincludes: output directory not specified"}