Skip to content

Commit 0d9a26e

Browse files
committed
flex-old changed to flex
1 parent 7d79c59 commit 0d9a26e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

WRF4.6.0_Install.bash

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ fi
5656
#########################################################
5757

5858
if [ "$type" = "Chem" ]; then
59-
extra_packages="flex-old bison"
59+
extra_packages="flex bison"
6060
fi
6161
echo "Please enter your sudo password, so necessary packages can be installed."
6262
sudo apt-get update
@@ -106,9 +106,9 @@ export LDFLAGS="-L/usr/lib/x86_64-linux-gnu/hdf5/serial/ -L/usr/lib"
106106
export CPPFLAGS="-I/usr/include/hdf5/serial/ -I/usr/include"
107107
export LD_LIBRARY_PATH=/usr/lib
108108
if [ "$type" = "Chem" ]; then
109-
[[ -z $(grep "export FLEX_LIB_DIR=/usr/lib" ~/.bashrc) ]] && echo "export FLEX_LIB_DIR=/usr/lib" >> ~/.bashrc
109+
[[ -z $(grep "export FLEX_LIB_DIR=/usr/lib/x86_64-linux-gnu" ~/.bashrc) ]] && echo "export FLEX_LIB_DIR=/usr/lib/x86_64-linux-gnu" >> ~/.bashrc
110110
[[ -z $(grep "export YACC='yacc -d'" ~/.bashrc) ]] && echo "export YACC='yacc -d'" >> ~/.bashrc
111-
export FLEX_LIB_DIR=/usr/lib
111+
export FLEX_LIB_DIR=/usr/lib/x86_64-linux-gnu
112112
export YACC='yacc -d'
113113
fi
114114
##########################################

0 commit comments

Comments
 (0)