File tree Expand file tree Collapse file tree 2 files changed +9
-7
lines changed
Expand file tree Collapse file tree 2 files changed +9
-7
lines changed Original file line number Diff line number Diff line change 11#! /bin/bash
2- # bin/agd - execute ../scripts/agd-builder.sh
2+ # bin/agd - execute ../scripts/agd-builder.sh then run the built `agd`
33real0=$( readlink " ${BASH_SOURCE[0]} " || echo " ${BASH_SOURCE[0]} " )
44thisdir=$( cd " $( dirname -- " $real0 " ) " > /dev/null && pwd -P)
5- exec " $thisdir /../scripts/agd-builder.sh" ${1+" $@ " }
5+
6+ # shellcheck disable=SC1091
7+ source " $thisdir /../scripts/agd-builder.sh" ${1+" $@ " }
8+
9+ # Run the built Cosmos daemon.
10+ # shellcheck disable=SC2031
11+ export PATH=" $thisdir /../packages/cosmic-swingset/bin:$PATH "
12+ exec " $thisdir /../$GOLANG_DAEMON " ${1+" $@ " }
Original file line number Diff line number Diff line change @@ -238,8 +238,3 @@ if $only_build; then
238238 echo " Build complete." 1>&2
239239 exit 0
240240fi
241-
242- # Run the built Cosmos daemon.
243- # shellcheck disable=SC2031
244- export PATH=" $thisdir /../packages/cosmic-swingset/bin:$PATH "
245- exec " $thisdir /../$GOLANG_DAEMON " ${1+" $@ " }
You can’t perform that action at this time.
0 commit comments