mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
fix generate-jwt.sh for zsh users (#4769)
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@ -39,3 +39,6 @@ db-tools/
|
|||||||
|
|
||||||
# Coverage report
|
# Coverage report
|
||||||
lcov.info
|
lcov.info
|
||||||
|
|
||||||
|
# Generated by ./etc/generate-jwt.sh
|
||||||
|
jwttoken/
|
||||||
|
|||||||
@ -1,3 +1,4 @@
|
|||||||
|
#!/bin/bash
|
||||||
# Borrowed from EthStaker's prepare for the merge guide
|
# 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
|
# 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
|
openssl rand -hex 32 | tr -d "\n" | tee > ${SCRIPT_DIR}/jwttoken/jwt.hex
|
||||||
else
|
else
|
||||||
echo "${SCRIPT_DIR}/jwttoken/jwt.hex already exists!"
|
echo "${SCRIPT_DIR}/jwttoken/jwt.hex already exists!"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user