Allow the paths file to be created outside of the build system env

This commit is contained in:
Zahary Karadjov 2022-10-15 00:21:53 +03:00
parent d548b20ecd
commit b1d380e07e
No known key found for this signature in database
GPG Key ID: C1F42EAFF38D570F
2 changed files with 2 additions and 2 deletions

View File

@ -59,7 +59,7 @@ warn-jobs:
nimbus-build-system-paths:
echo "Creating nimbus-build-system.paths"; \
"$(CURDIR)/$(BUILD_SYSTEM_DIR)/scripts/create_nbs_paths.sh"
TOP_LEVEL_DIR="$(CURDIR)" "$(CURDIR)/$(BUILD_SYSTEM_DIR)/scripts/create_nbs_paths.sh"
deps-common: | sanity-checks warn-update warn-jobs $(NIMBLE_DIR)
# - don't build our Nim target if it's not going to be used

View File

@ -1,6 +1,6 @@
#!/usr/bin/env bash
cd "${ABS_PATH}/../../.."
cd "$TOP_LEVEL_DIR"
echo "--noNimblePath" > nimbus-build-system.paths
for file in $(ls -d $PWD/vendor/*)