Cole Robinson
2012-Dec-06 23:55 UTC
[Libguestfs] [PATCH] tests: Fix qemu-wrapper.sh generation
--- There's some other issues with check-with-upstream-qemu, like qemu-wrapper isn't regenerated if we specify a new QEMUDIR. Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 2eebefa..4f88311 100644 --- a/Makefile.am +++ b/Makefile.am @@ -356,7 +356,7 @@ check-with-upstream-qemu-1: $(top_builddir)/qemu-wrapper.sh $(top_builddir)/qemu-wrapper.sh: Makefile rm -f $@ $@-t - echo exec "$(QEMUBINARY)" -L "$(QEMUDIR)/pc-bios" "$$@" > $@-t + echo -e "#!/bin/sh\nexec" "$(QEMUBINARY)" -L "$(QEMUDIR)/pc-bios" \"\$$@\" > $@-t chmod +x,-w $@-t mv $@-t $@ -- 1.8.0
Reasonably Related Threads
- [PATCH v2] tests: Fix qemu-wrapper.sh generation
- [PATCH] tests: Handle changing QEMUDIR
- [PATCH 1/3] test-tool: implement --short-options & --long-options
- [PATCH 2/3] build: run ocaml-link.sh from build directory
- [PATCH] Fix out-of-tree builds of OCaml components