summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--setup.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/setup.py b/setup.py
index 3207948..d2b8f2e 100644
--- a/setup.py
+++ b/setup.py
@@ -23,15 +23,15 @@ 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", "checkout", "master"])
- command(["git", "pull"])
+ command(["git", "fetch"])
+ command(["git", "checkout", "jq-1.4"])
else:
subprocess.check_call([
"git", "clone",
"https://github.com/stedolan/jq.git",
jq_lib_dir
])
- command(["git", "checkout", "master"])
+ command(["git", "checkout", "jq-1.4"])
command(["mkdir", "-p", "m4"])
command(["autoreconf", "-i"])