From: Richard W.M. Jones Date: Sun, 19 Dec 2010 10:55:03 +0000 (+0000) Subject: appliance: Use a temporary file when processing packagelist.in. X-Git-Tag: 1.8.0~7 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=9556903888eed268895a8454491d56302985f7e1;p=libguestfs.git appliance: Use a temporary file when processing packagelist.in. --- diff --git a/appliance/Makefile.am b/appliance/Makefile.am index cd4952a..f1c2327 100644 --- a/appliance/Makefile.am +++ b/appliance/Makefile.am @@ -43,7 +43,8 @@ make.sh: make.sh.in packagelist: packagelist.in cpp -undef -D$(DISTRO)=1 < $< | \ - grep -v '^[[:space:]]*$$' | grep -v '^#' > $@ + grep -v '^[[:space:]]*$$' | grep -v '^#' > $@-t + mv $@-t $@ supermin.d/base.img supermin.d/hostfiles: stamp-supermin stamp-supermin: make.sh packagelist