Fix broken realpath
call
This commit is contained in:
parent
db68a6e04d
commit
b48edb416b
1 changed files with 1 additions and 1 deletions
|
@ -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