lower cased hostname for file name

This commit is contained in:
inxi-svn 2011-05-06 21:48:17 +00:00
parent d040defe62
commit 3eb4409085

3
inxi
View file

@ -1230,7 +1230,8 @@ script_self_updater()
debug_data_collector()
{
local xiin_app='' xiin_data_dir="xiin-$(hostname | tr ' ' '-' )-$(date +%Y%m%d)" xiin_data_file=''
local xiin_app='' xiin_data_file=''
local xiin_data_dir="xiin-$(hostname | tr ' ' '-' | tr '[A-Z]' '[a-z]' )-$(date +%Y%m%d)"
if [[ $B_RUNNING_IN_SHELL == 'true' ]];then
echo "Starting debugging data collection."