Fix path of temporary script
This commit is contained in:
parent
b48edb416b
commit
60bb50d5db
1 changed files with 2 additions and 1 deletions
|
@ -31,7 +31,8 @@ arch-chroot "$ARCH_MOUNT_ROOT" passwd;
|
|||
|
||||
dir="$(realpath ../../..)";
|
||||
scriptRoot="$(realpath --relative-to "$dir" "$(pwd)")";
|
||||
tempDir="/tmp/$(dirname "$dir")";
|
||||
cp -r "$dir" "$ARCH_MOUNT_ROOT/tmp/";
|
||||
arch-chroot "$ARCH_MOUNT_ROOT" bash "$scriptRoot/../../Software/GRUB/install.sh";
|
||||
arch-chroot "$ARCH_MOUNT_ROOT" bash "$tempDir/$scriptRoot/../../Software/GRUB/install.sh";
|
||||
|
||||
popd > /dev/null;
|
||||
|
|
Loading…
Reference in a new issue