Skip to content

Commit

Permalink
Merge pull request #2 from heliaxdev/bengt/improving-setup-namada
Browse files Browse the repository at this point in the history
easier to use
  • Loading branch information
yito88 authored Sep 13, 2023
2 parents 1f0049e + 0fcc3a0 commit 9fa4cdf
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 9fa4cdf

Please sign in to comment.