Skip to content

Commit

Permalink
fix: macos install tongsuo bug (#8320)
Browse files Browse the repository at this point in the history
  • Loading branch information
riven-blade authored Jan 15, 2025
1 parent e6e1d32 commit 20e8309
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/tongsuo.sh
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
#!/bin/bash
set -e

if [ ${DISABLE_CRYPTO} = true ];then
if [ "${DISABLE_CRYPTO}" = true ];then
echo "crypto is disabled"
exit 0
fi

if [ -d $TONGSUO_PATH ]; then
if [ -d "$TONGSUO_PATH" ]; then
echo "tongsuo already exists"
exit 0
fi
Expand Down

0 comments on commit 20e8309

Please sign in to comment.