use ~/.solana instead of PWD to keep cargo happy, don't rsync --append

This commit is contained in:
Rob Walker
2018-08-09 17:42:25 -07:00
parent 8b41c415b7
commit 846ad61941
4 changed files with 8 additions and 11 deletions

View File

@ -188,10 +188,10 @@ oom_score_adj() {
fi
}
SOLANA_CONFIG_DIR=${SNAP_DATA:-$PWD}/config
SOLANA_CONFIG_PRIVATE_DIR=${SNAP_DATA:-$PWD}/config-private
SOLANA_CONFIG_VALIDATOR_DIR=${SNAP_DATA:-$PWD}/config-validator
SOLANA_CONFIG_CLIENT_DIR=${SNAP_USER_DATA:-$PWD}/config-client
SOLANA_CONFIG_DIR=${SNAP_DATA:-~/.solana}/config
SOLANA_CONFIG_PRIVATE_DIR=${SNAP_DATA:-~/.solana}/config-private
SOLANA_CONFIG_VALIDATOR_DIR=${SNAP_DATA:-~/.solana}/config-validator
SOLANA_CONFIG_CLIENT_DIR=${SNAP_USER_DATA:-~/.solana}/config-client
rsync_url() { # adds the 'rsync://` prefix to URLs that need it
declare url="$1"