Last active
August 29, 2015 14:11
-
-
Save jadudm/254f227db2774b18e4d1 to your computer and use it in GitHub Desktop.
Installing TinyASM
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo Downloading TinyASM | |
pushd /tmp | |
if [ -f tiny.tar.gz ] | |
then | |
rm -f tiny.tar.gz | |
fi | |
curl -o tiny.tar.gz http://jadud.com/teaching/comporg-f14/resources/tiny.tar.gz | |
tar xvzf tiny.tar.gz | |
popd | |
mkdir -p ~/bin | |
echo Moving TinyASM to ~/bin. | |
pushd ~/bin | |
if [ -d tiny ] | |
then | |
rm -rf tiny | |
fi | |
mv /tmp/tiny tiny | |
popd | |
echo Adding TinyASM to your PATH | |
export PATH=~/bin/tiny/bin:$PATH | |
echo Done installing TinyASM. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment