diff --git a/profiles/DerGeret/Arch/install.sh b/profiles/DerGeret/Arch/install.sh index 29ca0a37..89fbcd96 100755 --- a/profiles/DerGeret/Arch/install.sh +++ b/profiles/DerGeret/Arch/install.sh @@ -2,10 +2,11 @@ pushd "${BASH_SOURCE%/*}" > /dev/null; function installDrivers() { - . "../../../scripts/Arch/Config/SecureBoot/install.sh"; - . "../../../scripts/Arch/Software/nvidia-dkms/install.sh"; - . "../../../scripts/Arch/Software/xone/install.sh"; - . "../../../scripts/Arch/Software/bt-dualboot/install.sh"; + local dir="${BASH_SOURCE%/*}"; + . "$dir/../../../scripts/Arch/Config/SecureBoot/install.sh"; + . "$dir/../../../scripts/Arch/Software/nvidia-dkms/install.sh"; + . "$dir/../../../scripts/Arch/Software/xone/install.sh"; + . "$dir/../../../scripts/Arch/Software/bt-dualboot/install.sh"; } . "../../../scripts/Arch/OS/install.sh"; diff --git a/profiles/ManuSurface/Arch/install.sh b/profiles/ManuSurface/Arch/install.sh index 46e1b0d5..48f434a0 100755 --- a/profiles/ManuSurface/Arch/install.sh +++ b/profiles/ManuSurface/Arch/install.sh @@ -2,16 +2,19 @@ pushd "${BASH_SOURCE%/*}" > /dev/null; function installDrivers() { - . "../../../scripts/Arch/Config/SecureBoot/install.sh"; - . "../../../scripts/Arch/Drivers/SurfaceBook2/install.sh"; + local dir="${BASH_SOURCE%/*}"; + . "$dir/../../../scripts/Arch/Config/SecureBoot/install.sh"; + . "$dir/../../../scripts/Arch/Drivers/SurfaceBook2/install.sh"; } function installSoftware() { - . "../../../scripts/Arch/Collections/school.sh"; + local dir="${BASH_SOURCE%/*}"; + . "$dir/../../../scripts/Arch/Collections/school.sh"; } function initializeConfig() { - . "../../../scripts/Common/Config/Steam/hidpi.sh"; + local dir="${BASH_SOURCE%/*}"; + . "$dir/../../../scripts/Common/Config/Steam/hidpi.sh"; } . "../../../scripts/Arch/OS/install.sh";