From b48edb416b1b826486e355e86ff4990f04601a6e Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Sat, 1 Apr 2023 14:05:01 +0200 Subject: [PATCH] Fix broken `realpath` call --- scripts/OS/Arch/setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/OS/Arch/setup.sh b/scripts/OS/Arch/setup.sh index 351e5465..3c1fe94d 100755 --- a/scripts/OS/Arch/setup.sh +++ b/scripts/OS/Arch/setup.sh @@ -30,7 +30,7 @@ echo "Please choose a password for the user \`root\`"; arch-chroot "$ARCH_MOUNT_ROOT" passwd; dir="$(realpath ../../..)"; -scriptRoot="$(realpath --relative-to "$(pwd)" "$dir")"; +scriptRoot="$(realpath --relative-to "$dir" "$(pwd)")"; cp -r "$dir" "$ARCH_MOUNT_ROOT/tmp/"; arch-chroot "$ARCH_MOUNT_ROOT" bash "$scriptRoot/../../Software/GRUB/install.sh";