solace-samples-c icon indicating copy to clipboard operation
solace-samples-c copied to clipboard

[Bug]: source ./setenv.sh does not work properly

Open ngdavid1013 opened this issue 1 year ago • 1 comments

Bug Description

On linux, when you source ./setenv.sh, inside the script, the $0 evaluates to /bin/bash Everything falls apart from that point. /usr/bin got added to LD_LIBRARY_PATH.

Expected Behavior

The current bin directory is to be added to LD_LIBRARY_PATH.

Steps to Reproduce

Just run it on linux.

Solace Product

Other

Solace Broker version

No response

Solace API

No response

Solace API version

No response

ngdavid1013 avatar Feb 08 '24 00:02 ngdavid1013

Thank you @ngdavid1013!

Mrc0113 avatar Feb 08 '24 16:02 Mrc0113

Fixed in commit PR #40 (commit 3c746d4)

gvensan avatar Jul 18 '24 05:07 gvensan