diff options
author | Francis Rowe <info@gluglug.org.uk> | 2015-08-29 20:08:41 (EDT) |
---|---|---|
committer | Francis Rowe <info@gluglug.org.uk> | 2015-08-29 20:08:41 (EDT) |
commit | fd9368b2dd1817a6f0ca30adb4fcc4391264888a (patch) | |
tree | 8b9972b254a0a9750249aad40dd60705aa7d2968 /download | |
parent | 26c8db5f5975db5df26a172d67570ea3f107ff73 (diff) | |
download | libreboot-fd9368b2dd1817a6f0ca30adb4fcc4391264888a.zip libreboot-fd9368b2dd1817a6f0ca30adb4fcc4391264888a.tar.gz libreboot-fd9368b2dd1817a6f0ca30adb4fcc4391264888a.tar.bz2 |
download script: simplify
Diffstat (limited to 'download')
-rwxr-xr-x | download | 9 |
1 files changed, 1 insertions, 8 deletions
@@ -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" |