Fix incorrect file paths

This commit is contained in:
Manuel Thalmann 2024-06-23 12:32:52 +02:00
parent 6b4d709110
commit bd60293f4c

View file

@ -1,7 +1,8 @@
#!/bin/bash
contextRoot="$(mktemp -d)";
rootHome="$contextRoot/airootfs/root";
nixDir="$contextRoot/nix/var/nix/profiles/per-user/root/channels/nixpkgs";
root="$contextRoot/airootfs";
rootHome="$root/root";
nixDir="$root/nix/var/nix/profiles/per-user/root/channels/nixpkgs";
profileDir="/mnt/archiso-valhalla";
mkdir -p "$rootHome";
git clone .. "$rootHome/PortValhalla";