git-submodule.sh: avoid "test <cond> -a/-o <cond>"
[gitweb.git] / t / t5000-tar-tree.sh
index 74fc5a88ecdaf66e34449df1a3429f8ee22cb1da..ad6fa0d4e43652e74b73980ee881860ebc78b692 100755 (executable)
@@ -72,7 +72,7 @@ check_tar() {
                        for header in *.paxheader
                        do
                                data=${header%.paxheader}.data &&
-                               if test -h $data -o -e $data
+                               if test -h $data || test -e $data
                                then
                                        path=$(get_pax_header $header path) &&
                                        if test -n "$path"