summaryrefslogtreecommitdiffstats
path: root/download
diff options
context:
space:
mode:
Diffstat (limited to 'download')
-rwxr-xr-xdownload9
1 files changed, 1 insertions, 8 deletions
diff --git a/download b/download
index 2ab95d2..8d9adc2 100755
--- 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"