Run readlink with -m

This commit is contained in:
Dennis ten Hoove 2023-06-22 02:33:11 +02:00
parent 0c22c32d99
commit 22044e2147

View file

@ -86,8 +86,8 @@ if [[ $type -eq 'archlinux' ]]; then
printf '\e[1;34m-->\e[0m\e[1m Started Arch linux image build\e[0m\n'
# Create temporary Btrfs subvolume
printf "\e[1;34m-->\e[0m\e[1m Creating temporary Btrfs subvolume at $(readlink $workdir)\e[0m\n"
btrfs subvolume create $workdir || cleanup_and_quit "Failed to create btrfs subvolume $(readlink $workdir)"
printf "\e[1;34m-->\e[0m\e[1m Creating temporary Btrfs subvolume at $(readlink -m $workdir)\e[0m\n"
btrfs subvolume create $workdir || cleanup_and_quit "Failed to create btrfs subvolume $(readlink -m $workdir)"
# Read base package list and install base system
readarray base_packages < $variant/base.list