Fix broken realpath
call
This commit is contained in:
parent
30483c8fc3
commit
388d507b93
|
@ -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";
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue