From 2864c6fba26f7f99717f3ec108bcd6dbb0236929 Mon Sep 17 00:00:00 2001 From: Shailesh Date: Wed, 17 Aug 2016 15:46:46 +0200 Subject: [PATCH] Make git pull optional by passing parameter true to build script --- iguana/m_unix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/iguana/m_unix b/iguana/m_unix index 28d7bc69a..a80e83d05 100755 --- a/iguana/m_unix +++ b/iguana/m_unix @@ -1,6 +1,10 @@ +#!/bin/bash + #./configure --enable-endomorphism --enable-module-ecdh --enable-module-schnorr --enable-module-rangeproof --enable-experimental --enable-module_recovery rm ../agents/iguana *.o -git pull +if [[ $# -eq 0 ]]; then + git pull +fi cd secp256k1; ./m_unix; cd .. cd ../crypto777; ./m_unix; cd ../iguana gcc -g -Wno-deprecated -c *.c ../basilisk/basilisk.c ../gecko/gecko.c ../datachain/datachain.c