aports/main/cvs/install-sh.patch
Natanael Copa 1566cc4458 main/cvs: move from community due to git-cvs
needed by git-cvs in main.

reverts commit fe0a75fee2 (main/cvs: move from community)
2025-05-27 12:01:22 +02:00

12 lines
495 B
Diff

diff -ur a/build-aux/install-sh b/build-aux/install-sh
--- a/build-aux/install-sh 2006-03-25 20:04:46 +0000
+++ b/build-aux/install-sh 2007-09-14 10:53:29 +0100
@@ -247,7 +247,7 @@
fi
if test -n "$dir_arg"; then
- $doit $mkdircmd "$dst" \
+ { test -d "$dst" || $doit $mkdircmd -p "$dst"; } \
&& { test -z "$chowncmd" || $doit $chowncmd "$dst"; } \
&& { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } \
&& { test -z "$stripcmd" || $doit $stripcmd "$dst"; } \