updated to handle the case when a submodule directory is missing.
configure original commit: ebef2e8fea60ca9b5130b6f1ffe3371c02ac32c8
This commit is contained in:
parent
9c5617a94d
commit
820c74012c
9
configure
vendored
9
configure
vendored
|
@ -314,15 +314,18 @@ if [ -d '.git' ] && command -v git >/dev/null 2>&1 ; then
|
|||
git submodule init && git submodule update || exit 1
|
||||
else
|
||||
if [ ! -f 'nanopass/nanopass.ss' ] ; then
|
||||
rmdir nanopass && (curl -L -o v1.9.tar.gz https://github.com/nanopass/nanopass-framework-scheme/archive/v1.9.tar.gz && tar -zxf v1.9.tar.gz && mv nanopass-framework-scheme-1.9 nanopass && rm v1.9.tar.gz) || exit 1
|
||||
rmdir nanopass > /dev/null 2>&1
|
||||
(curl -L -o v1.9.tar.gz https://github.com/nanopass/nanopass-framework-scheme/archive/v1.9.tar.gz && tar -zxf v1.9.tar.gz && mv nanopass-framework-scheme-1.9 nanopass && rm v1.9.tar.gz) || exit 1
|
||||
fi
|
||||
|
||||
if [ ! -f 'zlib/configure' ] ; then
|
||||
rmdir zlib && (curl -L -o v1.2.11.tar.gz https://github.com/madler/zlib/archive/v1.2.11.tar.gz && tar -xzf v1.2.11.tar.gz && mv zlib-1.2.11 zlib && rm v1.2.11.tar.gz) || exit 1
|
||||
rmdir zlib > /dev/null 2>&1
|
||||
(curl -L -o v1.2.11.tar.gz https://github.com/madler/zlib/archive/v1.2.11.tar.gz && tar -xzf v1.2.11.tar.gz && mv zlib-1.2.11 zlib && rm v1.2.11.tar.gz) || exit 1
|
||||
fi
|
||||
|
||||
if [ ! -f 'stex/Mf-stex' ] ; then
|
||||
rmdir stex && (curl -L -o v1.2.1.tar.gz https://github.com/dybvig/stex/archive/v1.2.1.tar.gz && tar -zxf v1.2.1.tar.gz && mv stex-1.2.1 stex && rm v1.2.1.tar.gz) || exit 1
|
||||
rmdir stex > /dev/null 2>&1
|
||||
(curl -L -o v1.2.1.tar.gz https://github.com/dybvig/stex/archive/v1.2.1.tar.gz && tar -zxf v1.2.1.tar.gz && mv stex-1.2.1 stex && rm v1.2.1.tar.gz) || exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user