X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=images%2Fguest-aux%2Fmake-windows-img.sh;h=3acb2b7fac8c6cc51e78addcb708424f99a3c6bc;hp=f659f4b4647e35e2e25a567764cdb5753aa3b821;hb=33a2c184e12c0bdbf061a9f36c87d76c28444712;hpb=5790f5bfafb12cc2ed9365461bf66e0fdfde7150 diff --git a/images/guest-aux/make-windows-img.sh b/images/guest-aux/make-windows-img.sh index f659f4b..3acb2b7 100755 --- a/images/guest-aux/make-windows-img.sh +++ b/images/guest-aux/make-windows-img.sh @@ -25,7 +25,7 @@ set -e # ntfs-3g/ntfsprogs then we cannot create a Windows phony image. # Nothing actually uses windows.img in the standard build so we can # just 'touch' it and emit a warning. -if ! ../fish/guestfish -a /dev/null run : available "ntfs3g ntfsprogs"; then +if ! ../run ../fish/guestfish -a /dev/null run : available "ntfs3g ntfsprogs"; then echo "***" echo "Warning: cannot create windows.img because there is no NTFS" echo "support in this build of libguestfs. Just touching the output" @@ -36,7 +36,7 @@ if ! ../fish/guestfish -a /dev/null run : available "ntfs3g ntfsprogs"; then fi # Create a disk image. -../fish/guestfish <<'EOF' +../run ../fish/guestfish <<'EOF' sparse windows.img.tmp 512M run