aboutsummaryrefslogtreecommitdiffstats
path: root/testing/util-vserver/chmod.patch
diff options
context:
space:
mode:
authorMichael Mason <ms13sp@gmail.com>2009-10-08 20:02:19 +0000
committerMichael Mason <ms13sp@gmail.com>2009-10-08 20:02:19 +0000
commita3f80a81f393f8509fbc2f6ff5e89ba04c7e5f2b (patch)
tree4b83cccd2b7c1723f4571e2033ab33c13d638776 /testing/util-vserver/chmod.patch
parent87283e2153e3ffbbbd2375cc300674e9fc2ea424 (diff)
parent0e73bc9f5f2c536807b52ad12ff70cb03cd9e7bf (diff)
downloadaports-a3f80a81f393f8509fbc2f6ff5e89ba04c7e5f2b.tar.bz2
aports-a3f80a81f393f8509fbc2f6ff5e89ba04c7e5f2b.tar.xz
Merge branch 'master' of git://git.alpinelinux.org/aports
Diffstat (limited to 'testing/util-vserver/chmod.patch')
-rw-r--r--testing/util-vserver/chmod.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/testing/util-vserver/chmod.patch b/testing/util-vserver/chmod.patch
new file mode 100644
index 0000000000..53861e8932
--- /dev/null
+++ b/testing/util-vserver/chmod.patch
@@ -0,0 +1,12 @@
+diff -ru a/Makefile.am b/Makefile.am
+--- a/Makefile.am 2009-09-29 13:48:10.000000000 +0000
++++ b/Makefile.am 2009-09-29 13:50:00.000000000 +0000
+@@ -149,7 +149,7 @@
+ @mkdir -p $$(dirname '$@')
+ @echo "$(SED) -e '...' $*.pathsubst >$*"
+ @$(SED) -e '$(pathsubst_RULES)' '$<' >'$@.tmp'
+- @-chmod --reference='$<' '$@.tmp'
++ @-chmod $$(stat -c %a '$<') '$@.tmp'
+ @if cmp -s '$@.tmp' '$*'; then \
+ echo "... no changes, reusing old version"; \
+ rm -f '$@.tmp'; \