summaryrefslogtreecommitdiff
path: root/localserver/applicator.py
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-05-20 08:41:15 -0300
committerJesusaves <cpntb1@ymail.com>2020-05-20 08:41:15 -0300
commitf4ba013c08bbcd8a8815d5959dbd74ba40516019 (patch)
tree9242a349babafae90bdd1e0f3b2d0714502d013d /localserver/applicator.py
parenta9cc0a955692b23e02b17f920145564ba79b8482 (diff)
downloadtools-f4ba013c08bbcd8a8815d5959dbd74ba40516019.tar.gz
tools-f4ba013c08bbcd8a8815d5959dbd74ba40516019.tar.bz2
tools-f4ba013c08bbcd8a8815d5959dbd74ba40516019.tar.xz
tools-f4ba013c08bbcd8a8815d5959dbd74ba40516019.zip
Patch Level 12
Diffstat (limited to 'localserver/applicator.py')
-rw-r--r--localserver/applicator.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/localserver/applicator.py b/localserver/applicator.py
index aa84ce3..6fa8d6e 100644
--- a/localserver/applicator.py
+++ b/localserver/applicator.py
@@ -33,7 +33,7 @@ for line in f:
subprocess.call("cd ../../server-code ; wget https://github.com/HerculesWS/Hercules/commit/"+line.replace("\n", "")+".diff", shell=True)
print "Applying patch..."
#subprocess.call("cd ../../server-code ; ls", shell=True)
- subprocess.call("cd ../../server-code ; git apply --ignore-whitespace --exclude=doc/ --exclude=tools/ --exclude=db/ --reject "+line.replace("\n", "")+".diff", shell=True)
+ subprocess.call("cd ../../server-code ; git apply --ignore-whitespace --exclude=doc/ --exclude=tools/ --exclude=db/ --exclude=npc/ --exclude=conf/ --reject "+line.replace("\n", "")+".diff", shell=True)
print "Patch applied"
subprocess.call("cd ../../server-code ; rm "+line.replace("\n", "")+".diff", shell=True)
print "Patch deleted (success)"