git.samba.org
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
shell: test -a|o is not POSIX (#250)
[rsync.git]
/
install-sh
diff --git
a/install-sh
b/install-sh
index 956817d4bffa641018eb8c6686dfb1ce40402050..8c409fbb9df2188dd3afa91d3193a1f902ae134d 100755
(executable)
--- a/
install-sh
+++ b/
install-sh
@@
-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