From: Natanael Copa Date: Wed, 29 Feb 2012 13:17:26 +0000 (+0100) Subject: busybox fix X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?p=util-vserver.git;a=commitdiff_plain;h=23702c5d4d65042b7c765cb053cb315561b65b6b busybox fix --- diff --git a/Makefile.am b/Makefile.am index 0a16f96..64ee9b7 100644 --- a/Makefile.am +++ b/Makefile.am @@ -151,7 +151,7 @@ pathconfig.h: .pathconfig.h.pathsubst.stamp @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'; \