From bfd16b7a9676e79875dba3feb4cad81c01a3b96d Mon Sep 17 00:00:00 2001 From: fuwa Date: Fri, 30 Aug 2019 16:12:14 +0800 Subject: [PATCH] speed up wownero fetch --- etc/scripts/build-external-libs/wownero/fetch.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/etc/scripts/build-external-libs/wownero/fetch.sh b/etc/scripts/build-external-libs/wownero/fetch.sh index ca3433a..4c99f34 100755 --- a/etc/scripts/build-external-libs/wownero/fetch.sh +++ b/etc/scripts/build-external-libs/wownero/fetch.sh @@ -41,8 +41,7 @@ githash=aba46a7c5f0a892533abd3cc1a8b97cdf6b23fcc rm -rf $name -git clone https://github.com/wownero/wownero.git -b $version -# git clone ../../../wownero -b $version +git clone --depth 1 https://github.com/wownero/wownero.git -b $version cd $name test `git rev-parse HEAD` = $githash || exit 1