diff --git a/scripts/OS/Arch/setup.sh b/scripts/OS/Arch/setup.sh index cd03725e..8d9d25bd 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 "$(pwd)" "$dir")"; +scriptRoot="$(realpath --relative-to "$(pwd)" "$dir")"; cp -r "$dir" "$ARCH_MOUNT_ROOT/tmp/"; arch-chroot "$ARCH_MOUNT_ROOT" . "$scriptRoot/../../Software/GRUB/install.sh";