From: Richard W.M. Jones Date: Fri, 31 Jul 2009 06:40:57 +0000 (+0100) Subject: Ignore failure of 'mv' commands in appliance Makefile. X-Git-Tag: 1.0.66~52 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=641f6ae3bf14940d9057860fb022c2946c1daf1c;p=libguestfs.git Ignore failure of 'mv' commands in appliance Makefile. A lot of people report these as 'errors' when they are not. Hide the error messages. --- 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