Skip to content

Commit

Permalink
fix generate-jwt.sh for zsh users (paradigmxyz#4769)
Browse files Browse the repository at this point in the history
  • Loading branch information
clifton authored Sep 25, 2023
1 parent 1fdd602 commit 371388d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,6 @@ db-tools/

# Coverage report
lcov.info

# Generated by ./etc/generate-jwt.sh
jwttoken/
3 changes: 2 additions & 1 deletion etc/generate-jwt.sh
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -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

0 comments on commit 371388d

Please sign in to comment.