From: Sascha Schumann Date: Tue, 9 Nov 1999 18:18:16 +0000 (+0000) Subject: Move only, if the file exists. X-Git-Tag: php-4.0b3_RC5~51 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5bb017f6d4019aa9b8c51618ed3e656d0160bdf3;p=php Move only, if the file exists. --- diff --git a/build.mk b/build.mk index 4459a1b31b..d63263bdbd 100644 --- a/build.mk +++ b/build.mk @@ -63,7 +63,7 @@ acconfig.h: $(acconfig_h_SOURCES) $(makefile_in_files): $(makefile_am_files) aclocal.m4 @echo rebuilding Makefile.in\'s - @for i in $(LT_TARGETS); do mv $$i $$i.bak; done + @for i in $(LT_TARGETS); do test -f $$i && mv $$i $$i.bak; done @automake -a -i $(AMFLAGS) $(makefile_files) 2>&1 \ | grep -v PHP_OUTPUT_FILES || true >&2 @for i in $(LT_TARGETS); do mv $$i.bak $$i; done