From 0c3d35b650e5bd667ac5b9e14f3963d2e104cc69 Mon Sep 17 00:00:00 2001 From: inxi-svn Date: Wed, 29 Sep 2010 16:36:24 +0000 Subject: [PATCH] the 4.1.16 bug fix recreated the 1.4.15 bug fix issue, that is now corrected. --- inxi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/inxi b/inxi index 117ef3f..11dba41 100755 --- a/inxi +++ b/inxi @@ -1,8 +1,8 @@ #!/bin/bash ######################################################################## #### Script Name: inxi -#### version: 1.4.16 -#### Date: September 26 2010 +#### version: 1.4.17 +#### Date: September 29 2010 ######################################################################## #### SPECIAL THANKS ######################################################################## @@ -3153,7 +3153,7 @@ get_partition_data() if [[ -n $( grep -E '(by-uuid|by-label)' <<< ${a_partition_working[6]} ) ]];then if [[ -n $DEV_DISK_UUID ]];then dev_item=$( echo "$DEV_DISK_UUID" | gawk ' - /'$( basename ${a_partition_working[6]} )'$/ { + /'$( basename ${a_partition_working[6]} )'/ { item=gensub( /..\/..\/(.+)/, "\\1", 1, $NF ) print item }' ) @@ -3161,7 +3161,7 @@ get_partition_data() # if we didn't find anything for uuid try label if [[ -z $dev_item && -n $DEV_DISK_LABEL ]];then dev_item=$( echo "$DEV_DISK_LABEL" | gawk ' - /'$( basename ${a_partition_working[6]} )'$/ { + /'$( basename ${a_partition_working[6]} )'/ { item=gensub( /..\/..\/(.+)/, "\\1", 1, $NF ) print item }' )