From 83403e99bae5fe415f30cc834e66c2e589ca46e0 Mon Sep 17 00:00:00 2001 From: antong Date: Wed, 2 Mar 2011 11:02:22 -0800 Subject: [PATCH] Fix check for bad --sha1 option argument --- wscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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':