On Mon, Mar 30, 2020 at 04:24:07AM -0400, Jeffrey Walton wrote: > Hi Everyone, > > I'm testing some software from Master. My testing machines sometimes > lack the distro tools like makeinfo. It results in things like this: > > ./bootstrap: 255: makeinfo: not found > ./bootstrap: Error: 'makeinfo' not found > > I tried the MAKEINFO=true tricks but they did not work. > > How can I create an alias on the fly using code like this in Bash? > > if ! ./bootstrap; > then > echo "Failed to bootstrap Wget2" > exit 1 > fi > > Thanks in advance.
This does not seem to be a bug in the bash shell. Maybe you meant to post this the help-bash list? Also, why not just install the prerequisites for the software you're building? -- Andreas (Kusalananda) Kähäri SciLifeLab, NBIS, ICM Uppsala University, Sweden .