X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=Makefile.am;h=64ee9b792ab3d2ebaacce715192ba3a57c8cf403;hb=HEAD;hp=0a16f963cb7bcb3b690d2b4e631abb5501ba4e93;hpb=696ecc4f0974b191147d617211533d053d21850f;p=util-vserver.git 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'; \