diff options
author | Issam Maghni <concatime@users.noreply.github.com> | 2021-11-07 13:23:01 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-07 10:23:01 -0800 |
commit | 8f383e8987482ce8194f40d0486dac6f95d83033 (patch) | |
tree | 03ed83bc859d640fcdaefbb85e25c094953a227b /prepare-source | |
parent | ca538965d81290ebd514397916594bdb2857e378 (diff) | |
download | rsync-8f383e8987482ce8194f40d0486dac6f95d83033.tar.gz |
shell: test -a|o is not POSIX (#250)
Diffstat (limited to 'prepare-source')
-rwxr-xr-x | prepare-source | 2 |
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 |