Skip to content

Instantly share code, notes, and snippets.

@MaxLeiter
Last active October 15, 2015 00:18
Show Gist options
  • Save MaxLeiter/3d58b72385969252f06b to your computer and use it in GitHub Desktop.
Save MaxLeiter/3d58b72385969252f06b to your computer and use it in GitHub Desktop.
#!/bin/bash
list="genkfs mktiupgrade kpack z80e sass"
for project in $list; do
git clone https://github.com/KnightOS/$project.git
done
for dir in $list; do
pushd $dir
if [[ $dir == "sass" ]]; then
# If this fails you probably don't have mono installed
make; sudo make install
popd
continue
fi
cmake .; make; sudo make install
popd
done
@erdnaxe
Copy link

erdnaxe commented Sep 13, 2015

This script is really cool but you forgot the "/" after KnightOS in the git clone command :

- git clone https://github.com/KnightOS$project.git
+ git clone https://github.com/KnightOS/$project.git

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment