z / nn_ninja_pack

a cfg framework for organizing Nexuiz binds and client-side patches

nn_ninja_pack / buildpack.sh
100755 17 lines (14 sloc) 0.474 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash
#
# Title: Packages the ninja pack
# Created By: Tyler "-z-" Mulligan of www.nexuizninjaz.com
#
# Usage: place script in the same folder as your ninja pack root
#
 
# This Packages this experiment
build_package() {
find $(pwd) -type f -print | egrep -v '\.git|additions|buildpack\.sh|nn_ninja_pack_|packlist.txt' | sed "s#$(pwd)/##" > packlist.txt
xargs zip -r nn_ninja_pack_$( date +%m%d%y ).pk3 < packlist.txt
rm packlist.txt
} # End pack_nst
 
build_package