]> wimlib.net Git - wimlib/blobdiff - programs/mkwinpeimg.in
mkwinpeimg: use case insensitive mode when updating boot.wim
[wimlib] / programs / mkwinpeimg.in
index c74b9d42f6d24ad81cffed6a9493e7c46670d1c9..42b477971279b7a040e7d761214a716e0cd5203f 100755 (executable)
@@ -437,7 +437,9 @@ modify_boot_wim() {
        exec 3>&-
 
        stat_busy "Rebuilding WIM with changes made"
-       wimlib-imagex update "$boot_wim" --rebuild \
+       # Use case-insensitive mode; some Windows PE images contain a "windows"
+       # directory instead of a "Windows" directory...
+       WIMLIB_IMAGEX_IGNORE_CASE=1 wimlib-imagex update "$boot_wim" --rebuild \
                < "$tmp_dir/__mkwinpeimg.update.cmds" > /dev/null || stat_fail
        stat_done
 }