OSDN Git Service

(EXINIT): Clear it to avoid problems with bad values.
authorwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 16 Sep 1992 01:17:03 +0000 (01:17 +0000)
committerwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 16 Sep 1992 01:17:03 +0000 (01:17 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2134 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/fixinc.svr4
gcc/fixincludes

index 69acd9c..fa0bae0 100755 (executable)
@@ -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}
 
index f489a81..3552029 100755 (executable)
@@ -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"}