libreboot

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit fd9368b2dd1817a6f0ca30adb4fcc4391264888a
parent 26c8db5f5975db5df26a172d67570ea3f107ff73
Author: Francis Rowe <info@gluglug.org.uk>
Date:   Sun, 30 Aug 2015 01:08:41 +0100

download script: simplify

Diffstat:
download | 9+--------
1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/download b/download @@ -25,15 +25,8 @@ set -u -e download="resources/scripts/helpers/download" -programs=( "${download}/"* ) # echo "${programs##*/}" ; echo "${programs%/*}" - -programlist () { - for program in "${programs[@]}"; do - printf "%s\n" "${program##*/}" - done -} -programs="$(programlist)" +programs="$(for program in ${download}/*; do printf "%s\n" "${program##*/}"; done)" noconfirm="0"