From f268068457725bdcb0af8b4c5cfdfb7762d7d629 Mon Sep 17 00:00:00 2001 From: Cory Schwartz Date: Tue, 6 Jul 2021 13:29:49 -0700 Subject: [PATCH] add dollar sign --- tools/packer/scripts/butterflynet/lotus-init.sh | 2 +- tools/packer/scripts/calibrationnet/lotus-init.sh | 2 +- tools/packer/scripts/mainnet/lotus-init.sh | 2 +- tools/packer/scripts/nerpanet/lotus-init.sh | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/packer/scripts/butterflynet/lotus-init.sh b/tools/packer/scripts/butterflynet/lotus-init.sh index f7afd4dfa..cfbf93f78 100755 --- a/tools/packer/scripts/butterflynet/lotus-init.sh +++ b/tools/packer/scripts/butterflynet/lotus-init.sh @@ -6,7 +6,7 @@ GATE="$LOTUS_PATH"/date_initialized # Don't init if already initialized. -if [ -f "GATE" ]; then +if [ -f "$GATE" ]; then echo lotus already initialized. exit 0 fi diff --git a/tools/packer/scripts/calibrationnet/lotus-init.sh b/tools/packer/scripts/calibrationnet/lotus-init.sh index d68b3357c..77260fa29 100755 --- a/tools/packer/scripts/calibrationnet/lotus-init.sh +++ b/tools/packer/scripts/calibrationnet/lotus-init.sh @@ -6,7 +6,7 @@ GATE="$LOTUS_PATH"/date_initialized # Don't init if already initialized. -if [ -f "GATE" ]; then +if [ -f "$GATE" ]; then echo lotus already initialized. exit 0 fi diff --git a/tools/packer/scripts/mainnet/lotus-init.sh b/tools/packer/scripts/mainnet/lotus-init.sh index a014f617e..b22853365 100755 --- a/tools/packer/scripts/mainnet/lotus-init.sh +++ b/tools/packer/scripts/mainnet/lotus-init.sh @@ -6,7 +6,7 @@ GATE="$LOTUS_PATH"/date_initialized # Don't init if already initialized. -if [ -f "GATE" ]; then +if [ -f "$GATE" ]; then echo lotus already initialized. exit 0 fi diff --git a/tools/packer/scripts/nerpanet/lotus-init.sh b/tools/packer/scripts/nerpanet/lotus-init.sh index 968ae395c..a0f19ae92 100755 --- a/tools/packer/scripts/nerpanet/lotus-init.sh +++ b/tools/packer/scripts/nerpanet/lotus-init.sh @@ -6,7 +6,7 @@ GATE="$LOTUS_PATH"/date_initialized # Don't init if already initialized. -if [ -f "GATE" ]; then +if [ -f "$GATE" ]; then echo lotus already initialized. exit 0 fi