tazusb diff tazusb-box @ rev 202

Remove ashism ==
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Feb 26 08:30:42 2019 +0100 (2019-02-26)
parents 8ddffadf56a6
children
line diff
     1.1 --- a/tazusb-box	Sat Aug 01 22:49:04 2015 +0300
     1.2 +++ b/tazusb-box	Tue Feb 26 08:30:42 2019 +0100
     1.3 @@ -27,7 +27,7 @@
     1.4  opts="--window-icon=$icon --height=220 --width=520 --center --on-top"
     1.5  
     1.6  
     1.7 -# I18n
     1.8 +# i18n
     1.9  
    1.10  export TEXTDOMAIN='tazusb-box'
    1.11  
    1.12 @@ -54,7 +54,7 @@
    1.13  
    1.14  list_devices() {
    1.15  	if [ -d /proc/scsi/usb-storage ]; then
    1.16 -		dev="$(blkid | cut -d":" -f1)"
    1.17 +		dev="$(blkid | cut -d: -f1)"
    1.18  		echo $dev | sed s'/ /!/'g
    1.19  	else
    1.20  		_ 'No USB media found'
    1.21 @@ -92,7 +92,7 @@
    1.22  		exit 0
    1.23  	fi
    1.24  	if echo "$main" | grep -q ".iso|"; then
    1.25 -		iso=$(echo $main | cut -d "|" -f 1)
    1.26 +		iso=$(echo $main | cut -d "|" -f1)
    1.27  		yes '' | tazusb gen-iso2usb $iso $dev --output=raw | output
    1.28  	else
    1.29  		yes '' | tazusb gen-liveusb $dev --output=raw | output