shell: test -a|o is not POSIX (#250)
[rsync.git] / install-sh
index 956817d4bffa641018eb8c6686dfb1ce40402050..8c409fbb9df2188dd3afa91d3193a1f902ae134d 100755 (executable)
@@ -115,7 +115,7 @@ else
 # might cause directories to be created, which would be especially bad 
 # if $src (and thus $dsttmp) contains '*'.
 
-       if [ -f $src -o -d $src ]
+       if [ -f $src ] || [ -d $src ]
        then
                true
        else