Colvars / colvars

Collective variables library for molecular simulation and analysis programs
http://colvars.github.io/
GNU Lesser General Public License v3.0
196 stars 56 forks source link

sh: 15: hash: Illegal option -t #693

Open ljh433 opened 1 month ago

ljh433 commented 1 month ago

when i Patch Gromacs with Colvars (sh ./colvars-master/update-colvars-code.sh ./gromacs-2020.6),there is an error:./colvars-master/update-colvars-code.sh: 15: hash: Illegal option -t. May I ask what the reason is. How to solve this problem?

jhenin commented 1 month ago

It looks like you are using an incompatible version of sh. Try calling the script with bash, or just execute the script without specifying the shell.

Then, please write a comment here to let us know if that solved the issue.