From 3eb4409085bd0dfab0e7a42e423270dd150e3f8d Mon Sep 17 00:00:00 2001 From: inxi-svn Date: Fri, 6 May 2011 21:48:17 +0000 Subject: [PATCH] lower cased hostname for file name --- inxi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/inxi b/inxi index fcac434..09f3259 100755 --- a/inxi +++ b/inxi @@ -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."