Skip to content

Commit e5a1a2c

Browse files
committed
revert env.sh and use pipe redirect
Signed-off-by: luarss <[email protected]>
1 parent e591403 commit e5a1a2c

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

env.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,3 @@ if [[ "$OSTYPE" == "darwin"* ]]; then
2424
export CMAKE_PREFIX_PATH="$(brew --prefix or-tools)"
2525
fi
2626

27-
# For Makefile environment
28-
if [ -n "\$MAKEFILE_ENV" ]; then
29-
PS1='\[\e[32m\]Makefile Environment \[\e[0m\] \w $ '
30-
fi

flow/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1050,7 +1050,7 @@ yosys:
10501050
# Drop into a bash shell with all environment variables, useful for debugging
10511051
.PHONY: bash
10521052
bash:
1053-
export MAKEFILE_ENV=1; bash --init-file $(FLOW_HOME)/../env.sh
1053+
bash --init-file <(echo "PS1='\[\e[32m\]Makefile Environment \[\e[0m\] \w $ '")
10541054

10551055
.PHONY: all_defs
10561056
all_defs : $(foreach file,$(RESULTS_ODB),$(file).def)

0 commit comments

Comments
 (0)