Skip to content

Commit

Permalink
flex-old changed to flex
Browse files Browse the repository at this point in the history
  • Loading branch information
bakamotokatas committed Jul 23, 2024
1 parent 7d79c59 commit 0d9a26e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions WRF4.6.0_Install.bash
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ fi
#########################################################

if [ "$type" = "Chem" ]; then
extra_packages="flex-old bison"
extra_packages="flex bison"
fi
echo "Please enter your sudo password, so necessary packages can be installed."
sudo apt-get update
Expand Down Expand Up @@ -106,9 +106,9 @@ export LDFLAGS="-L/usr/lib/x86_64-linux-gnu/hdf5/serial/ -L/usr/lib"
export CPPFLAGS="-I/usr/include/hdf5/serial/ -I/usr/include"
export LD_LIBRARY_PATH=/usr/lib
if [ "$type" = "Chem" ]; then
[[ -z $(grep "export FLEX_LIB_DIR=/usr/lib" ~/.bashrc) ]] && echo "export FLEX_LIB_DIR=/usr/lib" >> ~/.bashrc
[[ -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
[[ -z $(grep "export YACC='yacc -d'" ~/.bashrc) ]] && echo "export YACC='yacc -d'" >> ~/.bashrc
export FLEX_LIB_DIR=/usr/lib
export FLEX_LIB_DIR=/usr/lib/x86_64-linux-gnu
export YACC='yacc -d'
fi
##########################################
Expand Down

0 comments on commit 0d9a26e

Please sign in to comment.