tweaked the hostname to get rid of spaces in case present, you never know

This commit is contained in:
inxi-svn 2011-05-06 21:24:20 +00:00
parent 22224f7bf8
commit 8f35818592

2
inxi
View file

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