aboutsummaryrefslogtreecommitdiffstats
path: root/arch-installer.sh
diff options
context:
space:
mode:
Diffstat (limited to 'arch-installer.sh')
-rwxr-xr-xarch-installer.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch-installer.sh b/arch-installer.sh
index 9889eaf..bc924b5 100755
--- a/arch-installer.sh
+++ b/arch-installer.sh
@@ -177,7 +177,7 @@ awk '{print $1"-------("$4")";}' | sed -n "$id"p) " >> blkline
done
sel=$(dialog --nocancel --title "$1"\
--menu "Choose the drive on which Arch Linux should be installed:" 12 55 4\
- $(cat blkline)\
+ $(< blkline)\
3>&1 1>&2 2>&3 3>&-)
drv="/dev/"$(lsblk | grep disk | awk '{print $1}' | sed -n "$sel"p)
rm -f blkline > /dev/null