bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Create an alias on the fly?


From: Jeffrey Walton
Subject: Create an alias on the fly?
Date: Mon, 30 Mar 2020 04:24:07 -0400

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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]