From ec73aec8c5610edb01d89bd6d92c3f31108c2b72 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 5 Apr 2016 19:00:02 +0300 Subject: servergreps: store preprocessed files into src directory. --- servergreps/hercules/update.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'servergreps/hercules/update.sh') 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 } -- cgit v1.2.3-70-g09d2