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