From 641f6ae3bf14940d9057860fb022c2946c1daf1c Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Fri, 31 Jul 2009 07:40:57 +0100 Subject: [PATCH] Ignore failure of 'mv' commands in appliance Makefile. A lot of people report these as 'errors' when they are not. Hide the error messages. --- appliance/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/appliance/Makefile.am b/appliance/Makefile.am index 6c8a972..8391b8b 100644 --- a/appliance/Makefile.am +++ b/appliance/Makefile.am @@ -57,8 +57,8 @@ endif $(INITRAMFSIMG) $(VMLINUZ): $(top_builddir)/initramfs/fakeroot.log $(top_builddir)/initramfs/fakeroot.log: make.sh kmod.whitelist packagelist - -mv $(INITRAMFSIMG) $(INITRAMFSIMG).bak - -mv $(VMLINUZ) $(VMLINUZ).bak + mv $(INITRAMFSIMG) $(INITRAMFSIMG).bak 2>/dev/null; : + mv $(VMLINUZ) $(VMLINUZ).bak 2>/dev/null; : if ! bash make.sh; then rm -f $@; exit 1; fi $(INITRAMFSIMG): $(top_builddir)/initramfs/fakeroot.log $(top_builddir)/daemon/guestfsd init update.sh -- 1.8.3.1