[PATCH] Get run-tests working on 64-bit machines.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
[PATCH] Get run-tests working on 64-bit machines.
From: Bryan O'Sullivan <bos@serpentine.com>
manifest hash:
3704997be1744478414cddcd79c7bea5ccd6a1b1
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
iD8DBQFCvfdvywK+sNU5EO8RAm5iAJ9mWxI4o2j7IM7Mko7IjfKfNtWJqwCcDekn
6GDlcDo/Q3nv8ybFzykwQjY=
=tS2i
-----END PGP SIGNATURE-----
--- a/tests/run-tests Sat Jun 25 16:18:40 2005 -0800
+++ b/tests/run-tests Sat Jun 25 16:31:43 2005 -0800
@@ -6,9 +6,15 @@
failed=0
H=$PWD
+if [ -d /usr/lib64 ]; then
+ lib=lib64
+else
+ lib=lib
+fi
+
TESTPATH=$PWD/install/bin
export PATH=$TESTPATH:$PATH
-export PYTHONPATH=$PWD/install/lib/python
+export PYTHONPATH=$PWD/install/$lib/python
rm -rf install
cd ..