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

system-type script architecture misdetection #1

Closed
rbjeffer opened this issue Jan 3, 2020 · 0 comments · Fixed by #2
Closed

system-type script architecture misdetection #1

rbjeffer opened this issue Jan 3, 2020 · 0 comments · Fixed by #2

Comments

@rbjeffer
Copy link
Contributor

rbjeffer commented Jan 3, 2020

The make-gcc.sh and pack-gcc.sh scripts call system-type.sh in order to return information about the system. The result is stored in a bash array and tokenized based on $IFS. On distributions where lsb_type -si returns multiple space-separated words, this causes the platform name/architecture/description to be parsed incorrectly, which in turn causes make-gcc-rpm.sh to fail.

An example of a distribution where lsb_type -si returns multiple words is SuSE Linux Enterprise Server 11, on which lsb_type -si returns "SUSE LINUX"

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

Successfully merging a pull request may close this issue.

1 participant