I'm sure I'm not the only one who has thrown together something like this, but it may be useful for someone, so here 'tis.
Assumptions:
You use the .jar SVN builds
You have both bash and wget installed.
You store your KoLmafia SVN builds in the directory ~/KolMafia
You invoke KoL Mafia via a symlink in that same directory called KoLMafia.jar
Installation
Download into somehwere in your PATH
Change the name to getmafia from getmafia.txt (Extension restrictions on the board)
chmod u+x, 755 or other appropriate mask.
Usage:
getmafia <Build Number> will fetch the specified build into the KolMafia directory, then change the symlink to point to the newly downloaded build.
Assumptions:
You use the .jar SVN builds
You have both bash and wget installed.
You store your KoLmafia SVN builds in the directory ~/KolMafia
You invoke KoL Mafia via a symlink in that same directory called KoLMafia.jar
Installation
Download into somehwere in your PATH
Change the name to getmafia from getmafia.txt (Extension restrictions on the board)
chmod u+x, 755 or other appropriate mask.
Usage:
getmafia <Build Number> will fetch the specified build into the KolMafia directory, then change the symlink to point to the newly downloaded build.