make build script independent from pwd

This commit is contained in:
Maximilian Güntner committed 2020-06-25 22:32:40 +02:00
1 parent 1ee7b14c69
commit 8316fb6b55
1 file changed
+3 -2
+3 -2
View File
@@ -1,3 +1,4 @@
#!/usr/bin/env bash #!/usr/bin/env bash
./build_containers.sh $1 THIS=$(dirname "$0")
./build_registry.py $1 > ${1}/default.nix ./$THIS/build_containers.sh $1
./$THIS/build_registry.py $1 > ${1}/default.nix