From 8316fb6b55b6ce7f3395e49360ebefb9804a014a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maximilian=20G=C3=BCntner?= Date: Thu, 25 Jun 2020 22:32:40 +0200 Subject: [PATCH] make build script independent from pwd --- build.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/build.sh b/build.sh index 3466a05..8c7dc26 100755 --- a/build.sh +++ b/build.sh @@ -1,3 +1,4 @@ #!/usr/bin/env bash -./build_containers.sh $1 -./build_registry.py $1 > ${1}/default.nix +THIS=$(dirname "$0") +./$THIS/build_containers.sh $1 +./$THIS/build_registry.py $1 > ${1}/default.nix