For tarball builds, use existing configure or autoreconf if missing
This commit is contained in:
parent
b13de688ba
commit
db6ccd4dcb
1 changed files with 10 additions and 2 deletions
|
|
@ -89,7 +89,11 @@ RUN set -e; \
|
|||
EXCHANGE_DIR="/src/exchange"; \
|
||||
fi; \
|
||||
if [ "${EXCHANGE_TAR}" = "1" ]; then \
|
||||
if [ -f "${EXCHANGE_DIR}/configure" ]; then \
|
||||
echo "Using existing configure for Exchange tarball"; \
|
||||
else \
|
||||
cd "${EXCHANGE_DIR}" && autoreconf -fi; \
|
||||
fi; \
|
||||
else \
|
||||
if [ ! -f "${EXCHANGE_DIR}/configure" ]; then \
|
||||
cd "${EXCHANGE_DIR}" && env GNUNET_PREFIX=/usr ./bootstrap; \
|
||||
|
|
@ -120,7 +124,11 @@ RUN set -e; \
|
|||
MERCHANT_DIR="/src/merchant"; \
|
||||
fi; \
|
||||
if [ "${MERCHANT_TAR}" = "1" ]; then \
|
||||
if [ -f "${MERCHANT_DIR}/configure" ]; then \
|
||||
echo "Using existing configure for Merchant tarball"; \
|
||||
else \
|
||||
cd "${MERCHANT_DIR}" && autoreconf -fi; \
|
||||
fi; \
|
||||
else \
|
||||
if [ ! -f "${MERCHANT_DIR}/configure" ]; then \
|
||||
cd "${MERCHANT_DIR}" && env GNUNET_PREFIX=/usr ./bootstrap; \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue