diff --git a/scripts/getInfo b/scripts/getInfo index 2c10313..65ee6d1 100755 --- a/scripts/getInfo +++ b/scripts/getInfo @@ -7,7 +7,7 @@ # SC2119 Use function "$@" if function's $1 should mean script's $1 (??) # SC2129 Consider using { cmd1; cmd2; } >> file ... (erreur détection?) -version=4.4.0 +version=4.4.1 date="08/04/2018" contact="IRC freenode.net ##sdeb ou https://framagit.org/kyodev/kyopages/issues/" script="getInfo" @@ -1204,7 +1204,7 @@ fi_efi(){ # 06/03/2018 # [$1=silent|xorgOnly], assigne $fe_gpu (liste des gpu), $fe_nb_gpu, fe_Xorg (peut être null) # shellcheck disable=SC2086 # SC2086 Double quote to prevent globbing and word splitting -fi_gpu(){ # 06/03/2018 +fi_gpu(){ # 08/04/2018 local toScrut confs ifile fileConfs cmd_confs cmt_confs info_config local cards cmd_cards openGl pluriel text local stck_glxinfo glx_dvc cmd_glx_dvc stck_glxinfoOpt stck_glxinfoDri glx_dvc_temp @@ -1236,7 +1236,7 @@ fi_gpu(){ # 06/03/2018 ) confs=$( f_grep_file "${toScrut[*]}" ) for ifile in "${toScrut[@]}"; do - [ -e $ifile ] && fileConfs+="$ifile " # ne pas quoter $ifile dans la condition pour permettre glob + [ -e "$ifile" ] && fileConfs+="$ifile " # ne pas quoter $ifile dans la condition pour permettre glob done cmd_confs="grep -Ersv '^#|^$' ${toScrut[*]}" #~ [ "$fileConfs" ] || cmd_confs="Aucun fichier à afficher" diff --git a/scripts/getInfo_changelog.md b/scripts/getInfo_changelog.md index 58ba343..52a0d28 100644 --- a/scripts/getInfo_changelog.md +++ b/scripts/getInfo_changelog.md @@ -1,7 +1,7 @@ # changelog getInfo -## getInfo 4.4.0 08/04/2018 +## getInfo 4.4.1 08/04/2018 publi urgente, pour fix archlinux, en plein relifting @@ -9,6 +9,7 @@ publi urgente, pour fix archlinux, en plein relifting * révision: figet_disk, fi_disk, affichage * révision: fi_system_rc, * fix: contournement voidlinux (mawk par erreur) +* fix: fi_gpu, variable non quotée sur test ## getInfo 4.3.0 08/03/2018