From 928da42359dff226f7f1fbcb36d3c150c4e95ba9 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Sun, 18 May 2008 07:00:48 -0700 Subject: [PATCH] Fixed the "src" symlink in each testtmp subdir. --- runtests.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/runtests.sh b/runtests.sh index 2eb4182d..41d566bf 100755 --- a/runtests.sh +++ b/runtests.sh @@ -238,7 +238,10 @@ prep_scratch() { # Get rid of default ACLs and dir-setgid to avoid confusing some tests. $setfacl_nodef "$scratchdir" || true chmod g-s "$scratchdir" - ln -s "$srcdir" "$scratchdir/src" + case "$srcdir" in + /*) ln -s "$srcdir" "$scratchdir/src" ;; + *) ln -s "$TOOLDIR/$srcdir" "$scratchdir/src" ;; + esac return 0 } -- 2.34.1