summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2017-04-22 09:03:47 +0200
committerMichał Górny <mgorny@gentoo.org>2017-04-22 09:27:26 +0200
commitec76f6e000bdfdc91f4b5da7fa05c57a39cc3f27 (patch)
tree7b8acd30aa609405c4e36db42dea68bc9a95bac1 /patches/install-sh
parentMove patches from ::gentoo (diff)
downloadelt-patches-ec76f6e000bdfdc91f4b5da7fa05c57a39cc3f27.tar.gz
elt-patches-ec76f6e000bdfdc91f4b5da7fa05c57a39cc3f27.tar.bz2
elt-patches-ec76f6e000bdfdc91f4b5da7fa05c57a39cc3f27.zip
Add application script, and a Makefile20170422
Diffstat (limited to 'patches/install-sh')
-rw-r--r--patches/install-sh/1.514
-rw-r--r--patches/install-sh/1.5.414
-rw-r--r--patches/install-sh/1.5.614
3 files changed, 42 insertions, 0 deletions
diff --git a/patches/install-sh/1.5 b/patches/install-sh/1.5
new file mode 100644
index 0000000..1b8b20b
--- /dev/null
+++ b/patches/install-sh/1.5
@@ -0,0 +1,14 @@
+--- install-sh 2007-07-04 14:36:49 +0100
++++ install-sh 2007-09-14 11:00:41 +0100
+@@ -192,7 +192,10 @@
+
+ if [ x"$dir_arg" != x ]
+ then
+- $doit $instcmd $dst &&
++ { $doit $instcmd "$dst" || lasterr=$?
++ # It's ok for mkdir to fail if the directory already exists.
++ test -d "$dst" || { (exit ${lasterr-1}); exit; }
++ } &&
+
+ if [ x"$chowncmd" != x ]; then $doit $chowncmd $dst; else : ; fi &&
+ if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dst; else : ; fi &&
diff --git a/patches/install-sh/1.5.4 b/patches/install-sh/1.5.4
new file mode 100644
index 0000000..0b1c220
--- /dev/null
+++ b/patches/install-sh/1.5.4
@@ -0,0 +1,14 @@
+--- install-sh 2006-03-25 20:04:46 +0000
++++ install-sh 2007-09-14 10:53:29 +0100
+@@ -246,7 +246,10 @@
+ fi
+
+ if test -n "$dir_arg"; then
+- $doit $mkdircmd "$dst" \
++ { $doit $mkdircmd "$dst" || lasterr=$?
++ # It's ok for mkdir to fail if the directory already exists.
++ test -d "$dst" || { (exit ${lasterr-1}); exit; }
++ } \
+ && { test -z "$chowncmd" || $doit $chowncmd "$dst"; } \
+ && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } \
+ && { test -z "$stripcmd" || $doit $stripcmd "$dst"; } \
diff --git a/patches/install-sh/1.5.6 b/patches/install-sh/1.5.6
new file mode 100644
index 0000000..d107740
--- /dev/null
+++ b/patches/install-sh/1.5.6
@@ -0,0 +1,14 @@
+--- install-sh 2006-03-14 12:57:54 -0300
++++ install-sh 2008-06-19 22:23:04 -0300
+@@ -240,7 +240,10 @@
+ fi
+
+ if test -n "$dir_arg"; then
+- $doit $instcmd "$dst" \
++ { $doit $instcmd "$dst" || lasterr=$?
++ # It's ok for mkdir to fail if the directory already exists.
++ test -d "$dst" || { (exit ${lasterr-1}); exit; }
++ } \
+ && { test -z "$chowncmd" || $doit $chowncmd "$dst"; } \
+ && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } \
+ && { test -z "$stripcmd" || $doit $stripcmd "$dst"; } \