summaryrefslogtreecommitdiff
path: root/servergreps/hercules/update.sh
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-04-05 19:00:02 +0300
committerAndrei Karas <akaras@inbox.ru>2016-04-05 19:00:02 +0300
commitec73aec8c5610edb01d89bd6d92c3f31108c2b72 (patch)
tree07fbf016eee30f3bcf529022670e52d48bf52ec7 /servergreps/hercules/update.sh
parent88763f13a0a77d90bcfc351add57d432e3852709 (diff)
downloadevol-tools-ec73aec8c5610edb01d89bd6d92c3f31108c2b72.tar.gz
evol-tools-ec73aec8c5610edb01d89bd6d92c3f31108c2b72.tar.bz2
evol-tools-ec73aec8c5610edb01d89bd6d92c3f31108c2b72.tar.xz
evol-tools-ec73aec8c5610edb01d89bd6d92c3f31108c2b72.zip
servergreps: store preprocessed files into src directory.
Diffstat (limited to 'servergreps/hercules/update.sh')
-rwxr-xr-xservergreps/hercules/update.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/servergreps/hercules/update.sh b/servergreps/hercules/update.sh
index 0d956ec..925e84a 100755
--- a/servergreps/hercules/update.sh
+++ b/servergreps/hercules/update.sh
@@ -1,8 +1,8 @@
#!/bin/bash
function genpackets {
- cpp -DPACKETVER=$2 "-Dpacket(id,size,...)=packet(id,size,__VA_ARGS__)" ../../../server-code/src/map/packets.h $1/packets.h
- cpp -DPACKETVER=$2 -I../../../server-code/src ../../../server-code/src/map/packets_struct.h $1/packets_struct.h
+ cpp -DPACKETVER=$2 "-Dpacket(id,size,...)=packet(id,size,__VA_ARGS__)" ../../../server-code/src/map/packets.h $1/src/packets.h
+ cpp -DPACKETVER=$2 -I../../../server-code/src ../../../server-code/src/map/packets_struct.h $1/src/packets_struct.h
./packets.py $2
}