Skip to content

AGD binary error if not run from right dir #7825

@mindstyle85

Description

@mindstyle85

Describe the bug

The new devnet binary (agoricdev-18) has an error i didnt see before, if its not being called directly from agoric-sdk/bin folder

To Reproduce

Steps to reproduce the behavior:

  1. Install agoricdev-18 binary

  2. /home/pops/go/bin$ ./agd version
    ./agd: line 31: /home/pops/go/bin/../repoconfig.sh: No such file or directory

It is the same if the binary is called for example from /usr/local/bin

Expected behavior

The compiled binary should work from any directory.

/home/pops/agoric-sdk/bin$ ./agd version
0.34.0

Metadata

Metadata

Assignees

Labels

agdAgoric (Golang) Daemonv1_triagedDO NOT USE

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions