busybox fix
authorNatanael Copa <ncopa@alpinelinux.org>
Wed, 29 Feb 2012 13:17:26 +0000 (14:17 +0100)
committerDaniel Hokka Zakrisson <daniel@hozac.com>
Wed, 29 Feb 2012 13:17:26 +0000 (14:17 +0100)
Makefile.am

index 0a16f96..64ee9b7 100644 (file)
@@ -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'; \