Fix handling of pre-existing LD_LIBRARY_PATH, from Keith Parks
This commit is contained in:
parent
a746653493
commit
2bbf34111f
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
# $Header: /cvsroot/pgsql/src/test/regress/Attic/run_check.sh,v 1.22 2000/07/09 13:14:19 petere Exp $
|
||||
# $Header: /cvsroot/pgsql/src/test/regress/Attic/run_check.sh,v 1.23 2000/07/09 13:19:24 petere Exp $
|
||||
|
||||
# ----------
|
||||
# Check call syntax
|
||||
|
@ -43,7 +43,7 @@ export PGPORT
|
|||
# otherwise feel free to cover your platform here as well.
|
||||
if [ "$LD_LIBRARY_PATH" ]; then
|
||||
old_LD_LIBRARY_PATH="$LD_LIBRARY_PATH"
|
||||
LD_LIBRARY_PATH="$LIBDIR:$LD_LIBARY_PATH"
|
||||
LD_LIBRARY_PATH="$LIBDIR:$old_LD_LIBARY_PATH"
|
||||
else
|
||||
LD_LIBRARY_PATH="$LIBDIR"
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue