Skip to content

Commit

Permalink
easier to use
Browse files Browse the repository at this point in the history
  • Loading branch information
bengtlofgren committed Sep 13, 2023
1 parent 1f0049e commit 0fcc3a0
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions scripts/setup-namada
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,17 @@

set -e

NAMADA_DIR=$1

# Get absolute path to Namada directory
SCRIPT_DIR=$(cd $(dirname $0) && pwd)
NAMADA_DIR=$(cd $1 && pwd)
cd $SCRIPT_DIR
if [ -z "${NAMADA_DIR}" ]
then
echo "ERROR: Namada directory should be given"
exit 1
fi
cd $(dirname $0)

HERMES_DIR=${PWD%/scripts*}

# edit for your environment
Expand Down

0 comments on commit 0fcc3a0

Please sign in to comment.