After creating an appropriate config file 'config/myphone', I have tried to start adebar-cli with bash explicitly, which fails:
bash adebar-cli myphone
The error messages indicate that libraries are not found:
adebar-cli: line 236: adebar-cli/lib/common.lib: Not a directory
Next I started adebar-cli with a relative path, which works as expected:
bash ./adebar-cli myphone
The culprit is the BINDIR assignment in adebar-cli:
BINDIR="${0%/*}"
I have fixed the issue by modifying the BINDIR assignment:
After creating an appropriate config file 'config/myphone', I have tried to start adebar-cli with bash explicitly, which fails:
bash adebar-cli myphone
The error messages indicate that libraries are not found:
adebar-cli: line 236: adebar-cli/lib/common.lib: Not a directory
Next I started adebar-cli with a relative path, which works as expected:
bash ./adebar-cli myphone
The culprit is the BINDIR assignment in adebar-cli:
BINDIR="${0%/*}"
I have fixed the issue by modifying the BINDIR assignment: