• Joshua Tauberer's avatar
    bootstrap: apt was mangling stdin · 711db935
    Joshua Tauberer authored
    When executed "cat bootstrap.sh | bash", apt-get mangled stdin. The script would terminate at the end of the if block containing apt-get (that seems to be as much as bash read from the pipe) and the remainder of the script was output to the console. This was very weird.
    
    Ensuring that apt-get and git have their stdins redirected from /dev/null seems to fix the problem.
    
    see #224
    711db935
bootstrap.sh 1.04 KB