commit 4c7451de1b303769b228f08c2c151cad0e7843d8
parent a6ae4de5b1a8bb2bf19e6a1e4cb6e16145e25bb9
Author: Jan Pobříslo <ccx@te2000.cz>
Date: Fri, 23 Feb 2024 20:28:20 +0100
Create environment setup files after linking the components
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/command/pthbs-makegen b/command/pthbs-makegen
@@ -85,10 +85,10 @@ function make_envfile( n, envfile, envhash) {
printf "\n\t@%s", "printf "q("Creating environment for %s => %s\\n")" "q(FILENAME)" "q("$(VERSIONS)/env."envhash)
printf "\n\t%s", "if test -e "q("$(VERSIONS)/env."envhash)"; then rm -r "q("$(VERSIONS)/env."envhash)"; fi"
printf "\n\t%s", "mkdir -p "q("$(VERSIONS)/env."envhash"/env")
- printf "\n\t%s", "pthbs-enter-gen "q("$(VERSIONS)/env."envhash)
for(n=1; n<=env_count; n++) {
printf "\n\t%s", "pthbs-link "q("$(VERSIONS)/"env[n])" "q("$(VERSIONS)/env."envhash)
}
+ printf "\n\t%s", "pthbs-enter-gen "q("$(VERSIONS)/env."envhash)
printf "\n\t%s\n\n", "sort -u <"q(envfile)" >"q("$@")
printf "%s\n", "env_"envhash"_defined="ENVIRON["scriptname"]
printf "%s\n", "endif"