summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorantong <anton@iki.fi>2011-03-02 11:02:22 -0800
committerantong <anton@iki.fi>2011-03-02 11:02:22 -0800
commit83403e99bae5fe415f30cc834e66c2e589ca46e0 (patch)
treea1a3beb0d726f7d2dc0c7569d319448fe4f738d4
parent5cfd9ce46286fc3ff3fa8ed278be8a681155cab8 (diff)
downloadlibgit2-83403e99bae5fe415f30cc834e66c2e589ca46e0.tar.gz
Fix check for bad --sha1 option argument
-rw-r--r--wscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/wscript b/wscript
index 0b2b105a8..7c6bba494 100644
--- a/wscript
+++ b/wscript
@@ -74,7 +74,7 @@ def configure(conf):
conf.env.DEFINES += ['GIT2_SQLITE_BACKEND']
if conf.options.sha1 not in ['openssl', 'ppc', 'builtin']:
- ctx.fatal('Invalid SHA1 option')
+ conf.fatal('Invalid SHA1 option')
# check for libcrypto (openssl) if we are using its SHA1 functions
if conf.options.sha1 == 'openssl':