[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [virt-tools-list] [virt-manager PATCH] autogen: Don't fail when config.status doesn't exist



On Wed, Oct 20, 2010 at 17:16, Eric Blake <eblake redhat com> wrote:
> Rather than 'rm config.status || true', the more common idiom in a script
> run under 'set -e' is to use 'rm -f config.status'.

Thanks, here's the new patch. I updated
https://bitbucket.org/intgr/virt-manager-fixes as well.

Regards,
Marti
# HG changeset patch
# User Marti Raudsepp <marti juffo org>
# Date 1287584957 -10800
# Node ID dc89aa7162ee04bbd94aa754434bdd87286efcc8
# Parent  3caa5bdc078b419fb20e350fe5f440704e607c78
autogen: Don't fail when config.status doesn't exist

diff --git a/autogen.sh b/autogen.sh
--- a/autogen.sh
+++ b/autogen.sh
@@ -6,7 +6,7 @@
 touch config.rpath
 
 # Make makefiles.
-rm config.status
+rm -f config.status
 intltoolize --automake --copy --force
 perl -i -p -e 's,^DATADIRNAME.*$,DATADIRNAME = share,' po/Makefile.in.in
 perl -i -p -e 's,^GETTEXT_PACKAGE.*$,GETTEXT_PACKAGE = virt-manager,' po/Makefile.in.in

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]