summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2010-04-10 19:05:02 (GMT)
committerRemko Tronçon <git@el-tramo.be>2010-04-10 19:07:45 (GMT)
commit995dc5b96429473761ff0a60982f0501cfa6ad6b (patch)
treea499c8088f36a2940ab21bf053b339b1505e6604 /BuildTools/SCons/SConstruct
parent6bfdbce784af9d0597d47a53048e0f6a1296b1ee (diff)
downloadswift-995dc5b96429473761ff0a60982f0501cfa6ad6b.zip
swift-995dc5b96429473761ff0a60982f0501cfa6ad6b.tar.bz2
Don't clean up Git hooks.
Diffstat (limited to 'BuildTools/SCons/SConstruct')
-rw-r--r--BuildTools/SCons/SConstruct3
1 files changed, 2 insertions, 1 deletions
diff --git a/BuildTools/SCons/SConstruct b/BuildTools/SCons/SConstruct
index 577536f..4c35123 100644
--- a/BuildTools/SCons/SConstruct
+++ b/BuildTools/SCons/SConstruct
@@ -355,7 +355,8 @@ elif env.get("bonjour", False) :
# Set up git hooks
################################################################################
-env.Install("#/.git/hooks", Glob("#/BuildTools/Git/Hooks/*"))
+if not env.GetOption("clean") :
+ env.Install("#/.git/hooks", Glob("#/BuildTools/Git/Hooks/*"))
################################################################################
# Project files