Created
October 23, 2016 00:02
-
-
Save pelya/9a4861955c05466ff8f006c9ed8526f1 to your computer and use it in GitHub Desktop.
This file contains 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/sh | |
nice git pull --commit --no-edit | grep 'Already up-to-date' || { | |
rm -f ninslash_srv | |
nice bam server_release | |
[ -e ninslash_srv ] && mv -f ninslash_srv ninslash_srv_run | |
} | |
CONFIG=/ctf- | |
while echo "$CONFIG" | grep '/ctf-' ; do | |
CONFIG=`find "example configs" -maxdepth 1 -mindepth 1 -type f -print0 \ | |
| sort --zero-terminated --random-sort \ | |
| sed 's/\d000.*//g'` | |
echo CONFIG $CONFIG | |
done | |
echo CONFIG $CONFIG | |
./ninslash_srv_run -f "$CONFIG" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment