From f763bc98e28fb1ed623bb746c1766c0ff8773173 Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Thu, 26 Jan 2017 17:13:48 +0100 Subject: Don't fail when trying to remove a non-existing scm-version.h.tmp file. This happens when the newly generated scm-version.h.tmp differs from an already existing scm-version.h or no scm-version.h exists yet, thus the scm-version.h.tmp was moved over to scm-version.h. Signed-off-by: Ralf Baechle --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 514f16d..7be7162 100644 --- a/Makefile.am +++ b/Makefile.am @@ -21,4 +21,4 @@ scm-version.h: scm-version.h.in > scm-version.h.tmp && \ (cmp -s scm-version.h.tmp scm-version.h 2>/dev/zero || \ mv scm-version.h.tmp scm-version.h) - rm scm-version.h.tmp + rm -f scm-version.h.tmp -- cgit v1.2.3