X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/e717fa4d37bf6cad4b3117998c220478f64b2eb2..76181461f582d385da73172d06532c4e4ec3f681:/runtests.sh 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 }