From d142a77e0d83aeee1141e55eae44e24aedcacde8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs?= Date: Tue, 24 May 2022 22:45:43 +0800 Subject: [PATCH] Add -r parameter to read --- hyperfi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hyperfi b/hyperfi index a20608b..2d37e12 100644 --- a/hyperfi +++ b/hyperfi @@ -860,7 +860,7 @@ installbase(){ sed -i '/^\s*$/d' /tmp/hyperfi-custom-package-list sed -i '/^#/ d' /tmp/hyperfi-custom-package-list options=() - while read pkg; do + while read -r pkg; do options+=("${pkg}" "" on) done < /tmp/hyperfi-custom-package-list sel=$(whiptail --backtitle "${apptitle}" --title "${txtinstallhyperbolacustompackagelist}" --checklist "" 0 0 0 \ -- 2.45.2