Fix shell script error triggered by braces in testnet names

This commit is contained in:
Zahary Karadjov 2020-01-27 20:53:12 +02:00 committed by zah
parent 182593ccb5
commit 2cb1cc69ba
1 changed files with 2 additions and 0 deletions

View File

@ -69,6 +69,8 @@ cli do (testnetName {.argument.}: string):
let
dataDirName = testnetName.replace("/", "_")
.replace("(", "_")
.replace(")", "_")
dataDir = buildDir / "data" / dataDirName
validatorsDir = dataDir / "validators"
dumpDir = dataDir / "dump"