commit eee056fab5fbb8511de9785f6f2fa75aad2a3374
parent 12c2d49b3c301b946ec1070343ee5ff9a97fc465
Author: Jan Pobříslo <ccx@te2000.cz>
Date: Fri, 23 Feb 2024 17:56:28 +0100
Fix PATH in envdir
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/command/pthbs-makegen b/command/pthbs-makegen
@@ -84,7 +84,7 @@ 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", "printf \"%s\\n\" >"q("$(VERSIONS)/env."envhash"/env/PATH")" "q("$(VERSIONS)/env."envhash)
+ printf "\n\t%s", "printf \"%s\\n\" >"q("$(VERSIONS)/env."envhash"/env/PATH")" "q("$(VERSIONS)/env."envhash"/command")
for(n=1; n<=env_count; n++) {
printf "\n\t%s", "pthbs-link "q("$(VERSIONS)/"env[n])" "q("$(VERSIONS)/env."envhash)
}