From: Eric Biggers Date: Tue, 21 May 2013 23:34:10 +0000 (-0500) Subject: imagex-update.1.in: Explain --command quoting X-Git-Tag: v1.4.1~53 X-Git-Url: https://wimlib.net/git/?p=wimlib;a=commitdiff_plain;h=a3c287beb780cb26efef17fca6d15331f285eb9c;hp=c6eff1f0a0721331237030bdce4490bfafd436f7 imagex-update.1.in: Explain --command quoting --- diff --git a/doc/imagex-apply.1.in b/doc/imagex-apply.1.in index 96f2e07a..b7a1936d 100644 --- a/doc/imagex-apply.1.in +++ b/doc/imagex-apply.1.in @@ -229,7 +229,7 @@ mywim3.swm mywim4.swm mywim5.swm .RE -.nf +.fi .PP To apply the first image of this split WIM to the directory "dir", run: .PP diff --git a/doc/imagex-update.1.in b/doc/imagex-update.1.in index 5c999f0d..f4f9f846 100644 --- a/doc/imagex-update.1.in +++ b/doc/imagex-update.1.in @@ -130,7 +130,18 @@ otherwise be left as a hole in the WIM. Also see Instead of reading update commands from standard input, read a single update command directly from the string \fISTRING\fR specified on the command line. This option cannot be provided more than one time and cannot be used to specify -more than one update command. +more than one update command. Note that the \fISTRING\fR, as well as any +paths containing spaces within the \fISTRING\fR must be appropriately quoted. +If running from cmd.exe on Windows, you should use double quotes for the outer +quotes and single quotes for the inner quotes. Example: +.RS +.RS +.PP +.nf +@IMAGEX_PROGNAME@ update boot.wim 1 --command="add 'C:\\My Dir' '\\My Dir'" +.RE +.RE +.fi .SH NOTES \fB@IMAGEX_PROGNAME@ update\fR is partly redundant with \fB@IMAGEX_PROGNAME@ mountrw\fR, since if a WIM image can be mounted read-write, then there diff --git a/make-windoze-release b/make-windoze-release index 296948ad..3fd126ad 100755 --- a/make-windoze-release +++ b/make-windoze-release @@ -2,8 +2,14 @@ set -e -u -DESTDIR=/mnt/tmp/wimlib -ARCH=i686 +if true; then + DESTDIR=/mnt/tmp/wimlib + ARCH=i686 +else + DESTDIR=/mnt/tmp/wimlib-x64 + ARCH=x86_64 +fi + VERSION=$(grep 'This is wimlib version' README | grep -o '[0-9]\+\.[0-9]\+\.[0-9]') ZIPFILE=wimlib-${VERSION}-windows-${ARCH}-bin.zip