missing MY_PATH

This commit is contained in:
fred 2022-08-23 14:41:15 +02:00
parent f0b66bb97e
commit 21dfa5f4ae
1 changed files with 6 additions and 0 deletions

View File

@ -6,12 +6,18 @@
################################################################################
################################################################################
#
MY_PATH="`dirname \"$0\"`" # relative
MY_PATH="`( cd \"$MY_PATH\" && pwd )`" # absolutized and normalized
ME="${0##*/}"
SALT="$1"
PEPPER="$2"
## Chargement TW !!!
if [[ $SALT != "" && PEPPER != "" ]]; then
ASTRO=""
echo "$SALT"
echo "$PEPPER"
ipfs key rm gchange
rm -f ~/.zen/tmp/gchange.key
${MY_PATH}/keygen -t ipfs -o ~/.zen/tmp/gchange.key "$SALT" "$PEPPER"