diff --git a/mambareport/openmamba-makereport b/mambareport/openmamba-makereport index 130e0e9..3af524a 100755 --- a/mambareport/openmamba-makereport +++ b/mambareport/openmamba-makereport @@ -2,7 +2,7 @@ # # openmamba system report generation tool # -# Copyright (c) 2008-2011 by Silvan Calarco +# Copyright (c) 2008-2013 by Silvan Calarco # VERSION=20110807 @@ -22,12 +22,9 @@ TEMPFILE=`tempfile` SYSTEM_SERIAL_NUMBER=unknown } -SYSTEM_MANUFACTURER=`echo $SYSTEM_MANUFACTURER | tr ' ' _` -SYSTEM_MANUFACTURER=`echo $SYSTEM_MANUFACTURER | tr '-' _` -SYSTEM_PRODUCT_NAME=`echo $SYSTEM_PRODUCT_NAME | tr ' ' _` -SYSTEM_PRODUCT_NAME=`echo $SYSTEM_PRODUCT_NAME | tr '-' _` -SYSTEM_SERIAL_NUMBER=`echo $SYSTEM_SERIAL_NUMBER | tr ' ' _` -SYSTEM_SERIAL_NUMBER=`echo $SYSTEM_SERIAL_NUMBER | tr '-' _` +SYSTEM_MANUFACTURER=`echo $SYSTEM_MANUFACTURER | tr ' ' _ | tr '-' _ | tr '/' _` +SYSTEM_PRODUCT_NAME=`echo $SYSTEM_PRODUCT_NAME | tr ' ' _ | tr '-' _ | tr '/' _` +SYSTEM_SERIAL_NUMBER=`echo $SYSTEM_SERIAL_NUMBER | tr ' ' _ | tr '-' _ | tr '/' _` REPORTNAME="openmamba-report-$SYSTEM_MANUFACTURER-$SYSTEM_PRODUCT_NAME-$SYSTEM_SERIAL_NUMBER.txt" @@ -126,7 +123,7 @@ _EOF } echo "openmamba report generation tool $VERSION" -echo "Copyright (c) 2008-2011 by Silvan Calarco" +echo "Copyright (c) 2008-2013 by Silvan Calarco" echo [ $UID = 0 ] || {