summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2022-11-10 13:59:00 +0100
committerNatanael Copa <ncopa@alpinelinux.org>2022-11-10 13:59:00 +0100
commitfa207d00efb451d9ed20820735608a1e625155ef (patch)
tree25b1a1a5e41e7a437c64e2aec048ada527ee93dd
parent9cd4b7fc69881ef38b9143d0192b97ca08224788 (diff)
downloadalpine-conf-fa207d00efb451d9ed20820735608a1e625155ef.zip
setup-disk: avoid basism parameter expansion
fixes use with yash.
-rw-r--r--setup-disk.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup-disk.in b/setup-disk.in
index c726da9..a586a23 100644
--- a/setup-disk.in
+++ b/setup-disk.in
@@ -1543,7 +1543,7 @@ if [ $# -gt 0 ]; then
if ! [ -e "$ROOT/sys/block/$j/device" ]; then
die "$i is not a block device suitable for partitioning"
fi
- diskdevs="$diskdevs /dev/${j//!//}"
+ diskdevs="$diskdevs $i"
done
else
ask_disk "Which disk(s) would you like to use? (or '?' for help or 'none')" \