From a0cf21c2de2a0f2ebb766ecb03e28384fe2974f4 Mon Sep 17 00:00:00 2001 From: "thorsten.spille" Date: Sat, 11 Jun 2022 18:47:24 +0200 Subject: [PATCH] Changed version handling --- run | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/run b/run index 501355c..73b81cb 100755 --- a/run +++ b/run @@ -4,8 +4,5 @@ set -euo pipefail PATH="/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin" source environment -source version -for ver in ${versions[@]}; do - VERSION=$(wget -q -O - $dl_prefix/ | grep -o "$ver.[0-9]" | tail -1) - ./builder $VERSION -done \ No newline at end of file +VERSION=$(wget -q -O - $dl_prefix/ | grep -o "$1.[0-9]" | tail -1) +./builder $VERSION \ No newline at end of file