Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bash variables do not seem to be properly defined #99

Open
dueringa opened this issue Jul 12, 2024 · 0 comments
Open

Bash variables do not seem to be properly defined #99

dueringa opened this issue Jul 12, 2024 · 0 comments

Comments

@dueringa
Copy link

dueringa commented Jul 12, 2024

Hello,

BB_BIN_DIR is defined in bin/arch/debian-sw-probe/debian-sw-probe-ATLAS.sh. But only after bin/arch/debian-sw-probe/debian-sw-probe-common.sh is sourced.

However, in the latter file, ATLASINIT is defined using BB_BIN_DIR - which is not defined yet. Could this cause problems?

The probe seems to be running anyway, but I caught this by setting

set -euo pipefail
IFS=$'\n\t'

in the ATLAS script (which prevents the program from running at all, actually, so I removed it again)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant