summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rwxr-xr-xposix/globtest.sh11
2 files changed, 15 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 60ba9d7133..0a8ed4ffb1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+1999-03-05  Ulrich Drepper  <drepper@cygnus.com>
+
+	* posix/globtest.sh: Make common_objpfx path absolute and and db2
+	and hesiod directory to library path [PR libc/1007].
+
 1999-03-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
 
 	* resolv/inet_addr.c (inet_aton): Don't allow componets >
diff --git a/posix/globtest.sh b/posix/globtest.sh
index 806b481c7e..4a009cc92b 100755
--- a/posix/globtest.sh
+++ b/posix/globtest.sh
@@ -4,8 +4,17 @@ common_objpfx=$1; shift
 elf_objpfx=$1; shift
 rtld_installed_name=$1; shift
 
+# We have to make the paths `common_objpfx' absolute.
+case "$common_objpfx" in
+  .*)
+    common_objpfx="`pwd`/$common_objpfx"
+    ;;
+  *)
+    ;;
+esac
+
 # We have to find the libc and the NSS modules.
-library_path=${common_objpfx}:${common_objpfx}nss:${common_objpfx}nis
+library_path=${common_objpfx}:${common_objpfx}nss:${common_objpfx}nis:${common_objpfx}db2:${common_objpfx}hesiod
 
 # Since we use `sort' we must make sure to use the same locale everywhere.
 LC_ALL=C