diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2010-12-19 10:55:03 +0000 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2010-12-19 10:55:03 +0000 |
commit | 9556903888eed268895a8454491d56302985f7e1 (patch) | |
tree | b59a38087e98ca241378f34005a90ccf706d8c40 | |
parent | acd25281bfa31b78fd03e25b495f66138a4dd987 (diff) | |
download | libguestfs-9556903888eed268895a8454491d56302985f7e1.tar.gz libguestfs-9556903888eed268895a8454491d56302985f7e1.tar.xz libguestfs-9556903888eed268895a8454491d56302985f7e1.zip |
appliance: Use a temporary file when processing packagelist.in.
-rw-r--r-- | appliance/Makefile.am | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/appliance/Makefile.am b/appliance/Makefile.am index cd4952a1..f1c23279 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 |