diff options
-rw-r--r-- | eclass/ELT-patches/install-sh/1.5 | 11 | ||||
-rw-r--r-- | eclass/ELT-patches/install-sh/1.5.4 | 12 |
2 files changed, 23 insertions, 0 deletions
diff --git a/eclass/ELT-patches/install-sh/1.5 b/eclass/ELT-patches/install-sh/1.5 new file mode 100644 index 000000000000..06d0f1431a18 --- /dev/null +++ b/eclass/ELT-patches/install-sh/1.5 @@ -0,0 +1,11 @@ +--- install-sh 2007-07-04 14:36:49 +0100 ++++ install-sh 2007-09-14 11:00:41 +0100 +@@ -192,7 +192,7 @@ + + if [ x"$dir_arg" != x ] + then +- $doit $instcmd $dst && ++ { test -d $dst || $doit $instcmd $dst; } && + + if [ x"$chowncmd" != x ]; then $doit $chowncmd $dst; else : ; fi && + if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dst; else : ; fi && diff --git a/eclass/ELT-patches/install-sh/1.5.4 b/eclass/ELT-patches/install-sh/1.5.4 new file mode 100644 index 000000000000..2bb6af71ef4d --- /dev/null +++ b/eclass/ELT-patches/install-sh/1.5.4 @@ -0,0 +1,12 @@ +diff -ur install-sh install-sh +--- install-sh 2006-03-25 20:04:46 +0000 ++++ install-sh 2007-09-14 10:53:29 +0100 +@@ -246,7 +246,7 @@ + fi + + if test -n "$dir_arg"; then +- $doit $mkdircmd "$dst" \ ++ { test -d "$dst" || $doit $mkdircmd "$dst"; } \ + && { test -z "$chowncmd" || $doit $chowncmd "$dst"; } \ + && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } \ + && { test -z "$stripcmd" || $doit $stripcmd "$dst"; } \ |