]> wimlib.net Git - wimlib/commitdiff
imagex-update.1.in: Explain --command quoting
authorEric Biggers <ebiggers3@gmail.com>
Tue, 21 May 2013 23:34:10 +0000 (18:34 -0500)
committerEric Biggers <ebiggers3@gmail.com>
Tue, 21 May 2013 23:34:10 +0000 (18:34 -0500)
doc/imagex-apply.1.in
doc/imagex-update.1.in
make-windoze-release

index 96f2e07a465a1d26f6e36c8e50426a6f33e38cd1..b7a1936df829fbd23caa0583f0e75ac16f5ab789 100644 (file)
@@ -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
index 5c999f0d25b148a309c3a87b79f6ef32947282b2..f4f9f8463d20d9f6618f8cd93d7f8d101c14fd9a 100644 (file)
@@ -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
index 296948add3a5a066ff100c07c4b2f168f88f8a09..3fd126ad06149d541b411a249057eaf402ddb620 100755 (executable)
@@ -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