From 853ba89601bbafe300541098291b1902d9dc96d1 Mon Sep 17 00:00:00 2001 From: Shailesh Date: Thu, 18 Aug 2016 12:35:21 +0200 Subject: [PATCH] Make git pull optional --- iguana/m_ios | 4 +++- iguana/m_osx | 4 +++- m_ios | 4 +++- m_unix | 4 +++- 4 files changed, 12 insertions(+), 4 deletions(-) diff --git a/iguana/m_ios b/iguana/m_ios index ccce1734a..688bbc378 100755 --- a/iguana/m_ios +++ b/iguana/m_ios @@ -2,7 +2,9 @@ set -x CC="$(xcrun --sdk iphoneos --find clang) -isysroot $(xcrun --sdk iphoneos --show-sdk-path) -arch arm64 -ONLY_ACTIVE_ARCH=YES" -git pull +if [[ $# -eq 0 ]]; then + git pull +fi echo CC=$CC diff --git a/iguana/m_osx b/iguana/m_osx index e41de9c2b..60963b1e0 100755 --- a/iguana/m_osx +++ b/iguana/m_osx @@ -1,5 +1,7 @@ rm ../agents/iguana *.o -git pull +if [[ $# -eq 0 ]]; then + git pull +fi cd secp256k1; ./m_osx; cd .. gcc -g -Wno-deprecated -c -O2 *.c databases/iguana_DB.c gcc -g -Wno-deprecated -c main.c iguana777.c iguana_bundles.c diff --git a/m_ios b/m_ios index e31b7612d..f555ddc59 100755 --- a/m_ios +++ b/m_ios @@ -1,2 +1,4 @@ -git pull +if [[ $# -eq 0 ]]; then + git pull +fi cd iguana; ./m_ios; cd .. diff --git a/m_unix b/m_unix index c39b4ce45..17696b26d 100755 --- a/m_unix +++ b/m_unix @@ -1,3 +1,5 @@ -git pull +if [[ $# -eq 0 ]]; then + git pull +fi cd iguana; ./m_unix; cd .. #cd SuperNET; ./m_unix; cd ..