Skip to content

Commit

Permalink
Move variables to function file
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeljyeates committed Oct 22, 2018
1 parent 331f197 commit 37232fb
Show file tree
Hide file tree
Showing 10 changed files with 2 additions and 38 deletions.
3 changes: 0 additions & 3 deletions eosdac-testnet/boot.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
#!/bin/bash

green=`tput setaf 2`
reset=`tput sgr0`

source ./conf_private.sh
source ./conf.sh
source ./functions.sh
Expand Down
3 changes: 0 additions & 3 deletions eosdac-testnet/build.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
#!/bin/bash

green=`tput setaf 2`
reset=`tput sgr0`

source ./conf_private.sh
source ./conf_dac.sh
source ./conf.sh
Expand Down
2 changes: 0 additions & 2 deletions eosdac-testnet/change_config.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
#!/bin/bash

green=`tput setaf 2`
reset=`tput sgr0`

source ./conf_private.sh
source ./conf_dac.sh
Expand Down
3 changes: 0 additions & 3 deletions eosdac-testnet/fire.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
#!/bin/bash

green=`tput setaf 2`
reset=`tput sgr0`

source ./conf_private.sh
source ./conf_dac.sh
source ./conf.sh
Expand Down
2 changes: 2 additions & 0 deletions eosdac-testnet/functions.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@

green=`tput setaf 2`
reset=`tput sgr0`

run_cmd() {
cmd="$1";
Expand Down
13 changes: 0 additions & 13 deletions eosdac-testnet/permissions.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
#!/bin/bash

green=`tput setaf 2`
reset=`tput sgr0`

source ./conf_private.sh
source ./conf_dac.sh
source ./conf.sh
Expand All @@ -12,16 +9,6 @@ source ./functions.sh

echo -e "\n\n----------------- PERMISSIONS -------------------\n\n";

run_cmd() {
cmd="$1";
echo -e "\n\n >> ${green} Next command: $1 \n\n ${reset}";
#wait;
#read -p "Press enter to continue ${reset}";
eval "cleos --wallet-url $WALLET_URL -u $API_URL $1";
}




dacaccounts="$dacextra $dacowner $dactokens $dacauthority $daccustodian"

Expand Down
2 changes: 0 additions & 2 deletions eosdac-testnet/populate.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
#!/bin/bash

green=`tput setaf 2`
reset=`tput sgr0`

source ./conf_private.sh
source ./conf_dac.sh
Expand Down
4 changes: 0 additions & 4 deletions eosdac-testnet/resign.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
#!/bin/bash


green=`tput setaf 2`
reset=`tput sgr0`

source ./conf_private.sh
source ./conf_dac.sh
source ./conf.sh
Expand Down
5 changes: 0 additions & 5 deletions eosdac-testnet/transfer_raw.sh
Original file line number Diff line number Diff line change
@@ -1,15 +1,10 @@
#!/bin/bash

green=`tput setaf 2`
reset=`tput sgr0`

source ./conf_private.sh
source ./conf_dac.sh
source ./conf.sh
source ./functions.sh



echo -e "\n\n----------------- TRANSFER TOKENS -------------------\n\n";


Expand Down
3 changes: 0 additions & 3 deletions eosdac-testnet/update_contract.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
#!/bin/bash

green=`tput setaf 2`
reset=`tput sgr0`

source ./conf_private.sh
source ./conf_dac.sh
source ./conf.sh
Expand Down

0 comments on commit 37232fb

Please sign in to comment.