It was reported that some Windows PE images have a system directory
called "windows" rather than "Windows". Use case insensitive mode to
ensure added files go to the right place.
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
}