Portability fixes.
authorPeter Verthez <Peter.Verthez@advalvas.be>
Wed, 23 Oct 2002 16:57:07 +0000 (16:57 +0000)
committerPeter Verthez <Peter.Verthez@advalvas.be>
Wed, 23 Oct 2002 16:57:07 +0000 (16:57 +0000)
t/anselconv.test
t/path1.test
t/path2.test
t/src/test_gom
t/src/test_script
t/src/test_update

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
index f45db0a1a899b06df9d6fefee148e24e5eaf4f2a..16459a475706949d7470a4218ba293d980186c48 100755 (executable)
@@ -1,6 +1,7 @@
 #!/bin/sh
 
 builddir=`pwd`
-export LD_LIBRARY_PATH=$builddir/../gedcom/.libs:$LD_LIBRARY_PATH
+LD_LIBRARY_PATH=$builddir/../gedcom/.libs:$LD_LIBRARY_PATH
+export LD_LIBRARY_PATH
 unset GCONV_PATH
 $builddir/src/pathtest
index 1f9fd237372d42c8feab629ffae57fcaf167b2ae..167e76967a12976b13e3429a3c85912cac750c92 100755 (executable)
@@ -1,6 +1,8 @@
 #!/bin/sh
 
 builddir=`pwd`
-export LD_LIBRARY_PATH=$builddir/../gedcom/.libs:$LD_LIBRARY_PATH
-export GCONV_PATH=./ansel
+LD_LIBRARY_PATH=$builddir/../gedcom/.libs:$LD_LIBRARY_PATH
+export LD_LIBRARY_PATH
+GCONV_PATH=./ansel
+export GCONV_PATH
 $builddir/src/pathtest
index b3a9f7383bdd9a280271bace9057471547c00d8e..0dbcd62a47c7d3d82a2d362855f7981c5f530640 100755 (executable)
@@ -36,7 +36,8 @@ fi
 
 builddir=`pwd`
 ltcmd="$builddir/../libtool --mode=execute -dlopen $builddir/../gedcom/libgedcom.la -dlopen $builddir/../gom/libgedcom_gom.la"
-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 .
index 0061ce5bd34f0218a7a2c1eba9eb9db981484c02..ebcda7b7428dbac0f32e841a00daedaf4c295e35 100755 (executable)
@@ -34,7 +34,8 @@ fi
 
 builddir=`pwd`
 ltcmd="$builddir/../libtool --mode=execute -dlopen $builddir/../gedcom/libgedcom.la"
-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 .
index 78e3c391707626c214dee1ac94e2f677624885d2..cbe0c33eab836cfb441e2ff6c2cc93e3ca1b1ca4 100755 (executable)
@@ -31,7 +31,8 @@ fi
 
 builddir=`pwd`
 ltcmd="$builddir/../libtool --mode=execute -dlopen $builddir/../gedcom/libgedcom.la"
-export GCONV_PATH=.:$GCONV_PATH
+GCONV_PATH=.:$GCONV_PATH
+export GCONV_PATH
 ln -s $srcdir/../data/gedcom.enc .
 ln -s $builddir/../data/new.ged .
 ln -s $builddir/../iconv/glibc/.libs/ANSI_Z39.47.so .