X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=programs%2Fmkwinpeimg.in;h=42b477971279b7a040e7d761214a716e0cd5203f;hp=c74b9d42f6d24ad81cffed6a9493e7c46670d1c9;hb=a5edc75084110cd30d21d41c98d281cd4749d5cf;hpb=26d5d280ea5394a573add55e1e22cb56a1515c4c diff --git a/programs/mkwinpeimg.in b/programs/mkwinpeimg.in index c74b9d42..42b47797 100755 --- a/programs/mkwinpeimg.in +++ b/programs/mkwinpeimg.in @@ -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 }