filename sanitization
This commit is contained in:
parent
fa66fec684
commit
4ae52b037b
@ -18,7 +18,7 @@
|
|||||||
# along with this program; if not, write to the Free Software
|
# along with this program; if not, write to the Free Software
|
||||||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||||
|
|
||||||
VERSION=2.4
|
VERSION=2.5
|
||||||
COPY2VM="dom0"
|
COPY2VM="dom0"
|
||||||
SUPPORT_FILES=0
|
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`
|
XL_VTD=`cat $TEMP_DIR/xl-info |grep virt_caps |grep hvm_directio`
|
||||||
PCRS=`find /sys/devices/ -name pcrs`
|
PCRS=`find /sys/devices/ -name pcrs`
|
||||||
|
|
||||||
FILENAME="Qubes-HCL-${BRAND// /_}-${PRODUCT// /_}-$DATE"
|
FILENAME="Qubes-HCL-${BRAND//+([^[:alnum:]])/_}-${PRODUCT//+([^[:alnum:]])/_}-$DATE"
|
||||||
|
|
||||||
if [[ $XL_VTX ]]
|
if [[ $XL_VTX ]]
|
||||||
then
|
then
|
||||||
|
Loading…
Reference in New Issue
Block a user