Fixed the "src" symlink in each testtmp subdir.

This commit is contained in:
Wayne Davison committed 2008-05-18 07:00:48 -07:00
1 parent e717fa4d37
commit 928da42359
1 file changed
+4 -1
+4 -1
View File
@@ -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
}