Skip to content

Fix autoreconf#271

Merged
jkloetzke merged 2 commits into
BobBuildTool:masterfrom
jkloetzke:fix-autoreconf
Sep 12, 2025
Merged

Fix autoreconf#271
jkloetzke merged 2 commits into
BobBuildTool:masterfrom
jkloetzke:fix-autoreconf

Conversation

@jkloetzke
Copy link
Copy Markdown
Member

No description provided.

The implementation of the shebang mangling had several flaws. First of
all, it did not do anything because the "find" invocation was broken.

Also, the kernel will strip any number of spaces and tabs after the
"#!" marker. We need to do the same when comparing the command with
known good values. Additionally, that list was missing the /bin/sh and
/bin/bash commands that we certainly do not want to replace.
The various autoconf scripts contain the trick that let's them execute
even if they are interpreted by the shell. This line has the full path
to perl which will not be correct in Bobs environment. As it is
unneeded in the first place, just remove it.
@jkloetzke jkloetzke merged commit eada3d7 into BobBuildTool:master Sep 12, 2025
3 checks passed
@jkloetzke jkloetzke deleted the fix-autoreconf branch September 12, 2025 18:52
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 this pull request may close these issues.

1 participant