diff --git a/crypto777/m_unix b/crypto777/m_unix index 07dbecfd3..0e4e734a9 100755 --- a/crypto777/m_unix +++ b/crypto777/m_unix @@ -1,4 +1,8 @@ -git pull +#!/bin/bash + +if [[ $# -eq 0 ]]; then + git pull +fi rm *.o gcc -c -O2 *.c jpeg/*.c jpeg/unix/*.c # -I/usr/lib/x86_64-linux-gnu/curl rm -f ../agents/libcrypto777.a; ar rcu ../agents/libcrypto777.a *.o 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/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 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 ..