]> wimlib.net Git - wimlib/blobdiff - programs/mkwinpeimg
Version 1.2.1
[wimlib] / programs / mkwinpeimg
index 8d0d176a2cf7b4202f128c9bb4e23611b2592991..dc938a3103b89984b0700739e284d8086104fbc5 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 #
 # This script can make a customized bootable image of Windows PE.
 #
@@ -20,6 +20,7 @@
 
 script_name="$(basename $0)"
 PREFIX_REG="::"
+WIMLIB_VERSION=1.2.1
 
 calc_columns () {
        STAT_COL=80
@@ -113,7 +114,7 @@ EOF
 }
 
 version() {
-       echo "$script_name (wimlib 0.4.8)"
+       echo "$script_name (wimlib $WIMLIB_VERSION)"
        exit 0
 }
 
@@ -333,7 +334,7 @@ get_boot_wim() {
                        wim="$windows_dir/sources/boot.wim"
                        stat_busy "Exporting image from \"$wim\""
                        imagex export "$windows_dir"/sources/boot.wim 2 \
-                                               --compress --boot "$boot_wim" || stat_fail
+                                               --boot "$boot_wim" || stat_fail
                        stat_done
                fi
        else