Skip to content

Commit

Permalink
account for Brian's fix for accepting json filenames EOSIO#2111
Browse files Browse the repository at this point in the history
  • Loading branch information
pmesnier committed Apr 4, 2018
1 parent 6e8f9ce commit bae74d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions testnet.template
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,9 @@ ecmd set contract eosio contracts/eosio.bios contracts/eosio.bios/eosio.bios.was

#the setprods.json argument cannot pass through the function call due to embedded quotes
echo ===== Start: $step ============ >> $logfile
echo executing: cleos --wallet-port $wdport -p $biosport -H $bioshost push action eosio setprods \"$(cat setprods.json)\" -p eosio@active | tee -a $logfile
echo executing: cleos --wallet-port $wdport -p $biosport -H $bioshost push action eosio setprods setprods.json -p eosio@active | tee -a $logfile
echo ----------------------- >> $logfile
programs/cleos/cleos --wallet-port $wdport --wallet-host $wdhost -p $biosport -H $bioshost push action eosio setprods "$(cat setprods.json)" -p eosio@active >> $logfile 2>&1
programs/cleos/cleos --wallet-port $wdport --wallet-host $wdhost -p $biosport -H $bioshost push action eosio setprods setprods.json -p eosio@active >> $logfile 2>&1
echo ==== End: $step ============== >> $logfile
step=$(($step + 1))

Expand Down

0 comments on commit bae74d1

Please sign in to comment.