More robust env.sh | Fix conda activate if in subshell
This commit is contained in:
@@ -157,8 +157,6 @@ if [ ! -f ./software/firemarshal/marshal-config.yaml ]; then
|
||||
echo "firesim-dir: '../../sims/firesim/'" > ./software/firemarshal/marshal-config.yaml
|
||||
fi
|
||||
|
||||
cat << EOT >> env.sh
|
||||
# line auto-generated by init-submodules-no-riscv-tools.sh
|
||||
replace_content env.sh init-submodules "# line auto-generated by init-submodules-no-riscv-tools.sh
|
||||
__DIR="$RDIR"
|
||||
PATH=\$__DIR/software/firemarshal:\$PATH
|
||||
EOT
|
||||
PATH=\$__DIR/software/firemarshal:\$PATH"
|
||||
|
||||
Reference in New Issue
Block a user