summaryrefslogtreecommitdiff
path: root/prepare-source
diff options
context:
space:
mode:
authorIssam Maghni <concatime@users.noreply.github.com>2021-11-07 13:23:01 -0500
committerGitHub <noreply@github.com>2021-11-07 10:23:01 -0800
commit8f383e8987482ce8194f40d0486dac6f95d83033 (patch)
tree03ed83bc859d640fcdaefbb85e25c094953a227b /prepare-source
parentca538965d81290ebd514397916594bdb2857e378 (diff)
downloadrsync-8f383e8987482ce8194f40d0486dac6f95d83033.tar.gz
shell: test -a|o is not POSIX (#250)
Diffstat (limited to 'prepare-source')
-rwxr-xr-xprepare-source2
1 files changed, 1 insertions, 1 deletions
diff --git a/prepare-source b/prepare-source
index f5b7b46c..5c56efad 100755
--- a/prepare-source
+++ b/prepare-source
@@ -32,7 +32,7 @@ if test "$dir" != '.'; then
fi
done
for fn in configure.sh config.h.in aclocal.m4; do
- test ! -f $fn -a -f "$dir/$fn" && cp -p "$dir/$fn" $fn
+ test ! -f $fn && test -f "$dir/$fn" && cp -p "$dir/$fn" $fn
done
fi