Fix path resolving of the partition module

This commit is contained in:
Manuel Thalmann 2024-06-23 15:03:20 +02:00
parent bd60293f4c
commit 485c0c70f3

View file

@ -1,4 +1,5 @@
#!/bin/bash -e
PARTITION_MODULE="${PARTITION_MODULE:+"$(realpath "$PARTITION_MODULE")"}";
pushd "${BASH_SOURCE%/*}" > /dev/null;
PARTITION_MODULE="${PARTITION_MODULE:-"./partition.nix"}";