From 22044e214772a9e52eb707a957d24b330e8a71c9 Mon Sep 17 00:00:00 2001 From: Dennis ten Hoove Date: Thu, 22 Jun 2023 02:33:11 +0200 Subject: [PATCH] Run readlink with -m --- bttrfs-build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bttrfs-build b/bttrfs-build index 5badb45..f8378c7 100755 --- a/bttrfs-build +++ b/bttrfs-build @@ -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