diff --git a/tools/setup/generate-test-credentials b/tools/setup/generate-test-credentials index d418deaa05..8f070e1ec4 100755 --- a/tools/setup/generate-test-credentials +++ b/tools/setup/generate-test-credentials @@ -7,7 +7,7 @@ email=iago@zulip.com mkdir -p var/casper -password=$(./manage.py print_initial_password "$email" | fgrep "$email" | awk '{ print $2 }') +password=$(./manage.py print_initial_password "$email" | grep -F "$email" | awk '{ print $2 }') cat > var/casper/test_credentials.js <