diff --git a/qvm-tools/qubes-hcl-report b/qvm-tools/qubes-hcl-report index 047a79d0..e26d9b86 100755 --- a/qvm-tools/qubes-hcl-report +++ b/qvm-tools/qubes-hcl-report @@ -18,7 +18,7 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -VERSION=2.4 +VERSION=2.5 COPY2VM="dom0" SUPPORT_FILES=0 @@ -103,7 +103,7 @@ XL_VTX=`cat $TEMP_DIR/xl-info |grep xen_caps | grep hvm` XL_VTD=`cat $TEMP_DIR/xl-info |grep virt_caps |grep hvm_directio` PCRS=`find /sys/devices/ -name pcrs` -FILENAME="Qubes-HCL-${BRAND// /_}-${PRODUCT// /_}-$DATE" +FILENAME="Qubes-HCL-${BRAND//+([^[:alnum:]])/_}-${PRODUCT//+([^[:alnum:]])/_}-$DATE" if [[ $XL_VTX ]] then