From f7366215d8adb9d468fdfa0317a9db32b8cce255 Mon Sep 17 00:00:00 2001 From: dyb Date: Tue, 26 Apr 2016 10:43:19 -0400 Subject: [PATCH] updated configure to initialize submodules if not cloned recursively original commit: b437b6ae6c59d1102bd2037ef10379e3a716b53d --- configure | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/configure b/configure index 1c2769cec5..a806ed25f6 100755 --- a/configure +++ b/configure @@ -235,13 +235,7 @@ if [ "$m" = "" -o ! -f boot/$m/scheme.boot ] ; then exit 1 fi -if [ ! -e nanopass ] ; then - (curl -L -o v1.9.tar.gz https://github.com/nanopass/nanopass-framework-scheme/archive/v1.9.tar.gz && tar -xzf v1.9.tar.gz && mv nanopass-framework-scheme-1.9 nanopass && rm v1.9.tar.gz) || exit 1 -fi - -if [ ! -e zlib ] ; then - (curl -L -o v1.2.8.tar.gz https://github.com/madler/zlib/archive/v1.2.8.tar.gz && tar -xzf v1.2.8.tar.gz && mv zlib-1.2.8 zlib && rm v1.2.8.tar.gz) || exit 1 -fi +git submodule init && git submodule update || exit 1 ./workarea $m $w