diff options
author | Wayne Davison <wayned@samba.org> | 2008-05-18 07:00:48 -0700 |
---|---|---|
committer | Wayne Davison <wayned@samba.org> | 2008-05-18 07:00:48 -0700 |
commit | 928da42359dff226f7f1fbcb36d3c150c4e95ba9 (patch) | |
tree | 1478fc3d52a818abfb6ab564af13450f9fafb5f3 /runtests.sh | |
parent | e717fa4d37bf6cad4b3117998c220478f64b2eb2 (diff) | |
download | android_external_rsync-928da42359dff226f7f1fbcb36d3c150c4e95ba9.tar.gz android_external_rsync-928da42359dff226f7f1fbcb36d3c150c4e95ba9.tar.bz2 android_external_rsync-928da42359dff226f7f1fbcb36d3c150c4e95ba9.zip |
Fixed the "src" symlink in each testtmp subdir.
Diffstat (limited to 'runtests.sh')
-rwxr-xr-x | runtests.sh | 5 |
1 files changed, 4 insertions, 1 deletions
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 } |