Portability fixes.
[gedcom-parse.git] / t / anselconv.test
index 59cae594e4985f32ff4f63ef4d4a4b513138713f..2eb049585291826ce8be9521750e97bf40462475 100755 (executable)
@@ -7,7 +7,8 @@ then
 fi
 builddir=`pwd`
 
-export GCONV_PATH=.:$GCONV_PATH
+GCONV_PATH=.:$GCONV_PATH
+export GCONV_PATH
 ln -s $srcdir/../data/gedcom.enc .
 ln -s $builddir/../iconv/glibc/.libs/ANSI_Z39.47.so .
 ln -s $srcdir/../iconv/glibc/gconv-modules .
@@ -16,7 +17,8 @@ retval=0
 
 if [ "$ICONV_PATH" ]
 then
-  export PATH=$ICONV_PATH:$PATH
+  PATH=$ICONV_PATH:$PATH
+  export PATH
 fi
 
 echo "Testing conversion from ANSEL to UTF-8" >> testgedcom.out