From a54895c0f3160fa3e2732d4b497c550b346aef6b Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Sun, 15 Sep 2013 17:11:05 +0100 Subject: Use master branch of jq --- setup.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index 99ebe5a..aa912bd 100644 --- a/setup.py +++ b/setup.py @@ -28,16 +28,16 @@ class jq_build_ext(build_ext): subprocess.check_call(args, cwd=path_in_dir(jq_lib_dir)) if os.path.exists(jq_lib_dir): - command(["git", "fetch"]) + command(["git", "checkout", "master"]) + command(["git", "pull"]) else: subprocess.check_call([ "git", "clone", "https://github.com/stedolan/jq.git", jq_lib_dir ]) + command(["git", "checkout", "master"]) - # Tested with commit 37cfc912c1 - command(["git", "checkout", "libjq"]) command(["mkdir", "-p", "m4"]) command(["autoreconf", "-i"]) command(["./configure", "CFLAGS=-fPIC"]) -- cgit v1.2.3