Replace incorrect command

This commit is contained in:
Manuel Thalmann 2023-04-01 14:09:36 +02:00
parent 60bb50d5db
commit 1dd6405d4d

View file

@ -31,7 +31,7 @@ arch-chroot "$ARCH_MOUNT_ROOT" passwd;
dir="$(realpath ../../..)";
scriptRoot="$(realpath --relative-to "$dir" "$(pwd)")";
tempDir="/tmp/$(dirname "$dir")";
tempDir="/tmp/$(basename "$dir")";
cp -r "$dir" "$ARCH_MOUNT_ROOT/tmp/";
arch-chroot "$ARCH_MOUNT_ROOT" bash "$tempDir/$scriptRoot/../../Software/GRUB/install.sh";