aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2022-05-24 22:45:43 +0800
committerJesús <heckyel@hyperbola.info>2022-05-24 22:45:43 +0800
commitd142a77e0d83aeee1141e55eae44e24aedcacde8 (patch)
tree2d040578cfc04a647b64afbf07ef175244d1565d
parentf7e0ab489db73ee99d3de02ffc5c43ff06af42e4 (diff)
downloadhyperfi-d142a77e0d83aeee1141e55eae44e24aedcacde8.tar.lz
hyperfi-d142a77e0d83aeee1141e55eae44e24aedcacde8.tar.xz
hyperfi-d142a77e0d83aeee1141e55eae44e24aedcacde8.zip
Add -r parameter to read
-rw-r--r--hyperfi2
1 files changed, 1 insertions, 1 deletions
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 \