about summary refs log tree commit diff
path: root/posix/globtest.sh
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-03-05 15:02:32 +0000
committerUlrich Drepper <drepper@redhat.com>1999-03-05 15:02:32 +0000
commitc277d2e55aea93070df74a1b8b7fcc6c44534254 (patch)
tree42e2e2ec7fab2991ae6b18a8408809b5a7db3c69 /posix/globtest.sh
parentad792af765438804272da2cc9e268e06e190c578 (diff)
downloadglibc-c277d2e55aea93070df74a1b8b7fcc6c44534254.tar.gz
glibc-c277d2e55aea93070df74a1b8b7fcc6c44534254.tar.xz
glibc-c277d2e55aea93070df74a1b8b7fcc6c44534254.zip
Update.
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].
Diffstat (limited to 'posix/globtest.sh')
-rwxr-xr-xposix/globtest.sh11
1 files changed, 10 insertions, 1 deletions
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