Fix broken realpath call

This commit is contained in:
Manuel Thalmann 2023-04-01 14:05:01 +02:00
parent db68a6e04d
commit b48edb416b

View file

@ -30,7 +30,7 @@ echo "Please choose a password for the user \`root\`";
arch-chroot "$ARCH_MOUNT_ROOT" passwd; arch-chroot "$ARCH_MOUNT_ROOT" passwd;
dir="$(realpath ../../..)"; dir="$(realpath ../../..)";
scriptRoot="$(realpath --relative-to "$(pwd)" "$dir")"; scriptRoot="$(realpath --relative-to "$dir" "$(pwd)")";
cp -r "$dir" "$ARCH_MOUNT_ROOT/tmp/"; cp -r "$dir" "$ARCH_MOUNT_ROOT/tmp/";
arch-chroot "$ARCH_MOUNT_ROOT" bash "$scriptRoot/../../Software/GRUB/install.sh"; arch-chroot "$ARCH_MOUNT_ROOT" bash "$scriptRoot/../../Software/GRUB/install.sh";