git.annexia.org
/
libguestfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
67493bf
)
inspector: Handle write failures when creating example-*.xml.
author
Richard W.M. Jones
<rjones@redhat.com>
Thu, 14 Apr 2011 17:19:04 +0000
(18:19 +0100)
committer
Richard W.M. Jones
<rjones@redhat.com>
Thu, 14 Apr 2011 17:20:30 +0000
(18:20 +0100)
inspector/Makefile.am
patch
|
blob
|
history
diff --git
a/inspector/Makefile.am
b/inspector/Makefile.am
index
69b5683
..
435ba87
100644
(file)
--- a/
inspector/Makefile.am
+++ b/
inspector/Makefile.am
@@
-100,10
+100,18
@@
endif
# can run them. Instead you can run them by hand.
example-debian.xml:
# can run them. Instead you can run them by hand.
example-debian.xml:
- ./run-inspector-locally ../images/debian.img > $@
+ rm -f $@ $@-t
+ ./run-inspector-locally ../images/debian.img > $@-t
+ mv $@-t $@
example-fedora.xml:
example-fedora.xml:
- ./run-inspector-locally ../images/fedora.img > $@
+ rm -f $@ $@-t
+ ./run-inspector-locally ../images/fedora.img > $@-t
+ mv $@-t $@
example-ubuntu.xml:
example-ubuntu.xml:
- ./run-inspector-locally ../images/ubuntu.img > $@
+ rm -f $@ $@-t
+ ./run-inspector-locally ../images/ubuntu.img > $@-t
+ mv $@-t $@
example-windows.xml:
example-windows.xml:
- ./run-inspector-locally ../images/windows.img | fgrep -v '<uuid>' > $@
+ rm -f $@ $@-t
+ ./run-inspector-locally ../images/windows.img | fgrep -v '<uuid>' > $@-t
+ mv $@-t $@