fix generate-jwt.sh for zsh users (#4769)

This commit is contained in:
Clifton King
2023-09-25 12:24:33 -05:00
committed by GitHub
parent 1fdd6027cc
commit 371388da5d
2 changed files with 5 additions and 1 deletions

3
.gitignore vendored
View File

@ -39,3 +39,6 @@ db-tools/
# Coverage report
lcov.info
# Generated by ./etc/generate-jwt.sh
jwttoken/

View File

@ -1,3 +1,4 @@
#!/bin/bash
# Borrowed from EthStaker's prepare for the merge guide
# See https://github.com/remyroy/ethstaker/blob/main/prepare-for-the-merge.md#configuring-a-jwt-token-file
@ -8,4 +9,4 @@ then
openssl rand -hex 32 | tr -d "\n" | tee > ${SCRIPT_DIR}/jwttoken/jwt.hex
else
echo "${SCRIPT_DIR}/jwttoken/jwt.hex already exists!"
fi
fi