jjhoughton / napi-ldap

MIT License
7 stars 5 forks source link

run_server.sh and run_sasl.sh fail to run with dash #16

Open cout opened 1 year ago

cout commented 1 year ago

The shbang lines for run_server.sh and run_sasl.sh point to /bin/sh, which on Ubuntu is dash, not bash. Both scripts give a syntax error:

./run_sasl.sh: 10: [[: not found
./run_sasl.sh: 14: [[: not found
./run_sasl.sh: 24: [[: not found

I think the scripts are intended to be run with bash? If so, the shbang line should be:

#!/usr/bin/env bash