summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--localserver/applicator.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/localserver/applicator.py b/localserver/applicator.py
index 571d10f..ea9b5f7 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 --reject "+line.replace("\n", "")+".diff", shell=True)
+ subprocess.call("cd ../../server-code ; git apply --ignore-whitespace --exclude=doc/ --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)"