notes on #7293
This commit is contained in:
parent
c602e11a36
commit
064659c8e9
@ -14,7 +14,7 @@ set -eu
|
|||||||
if [ "$#" -ne 4 ];
|
if [ "$#" -ne 4 ];
|
||||||
then
|
then
|
||||||
echo "illegal number of parameters. \
|
echo "illegal number of parameters. \
|
||||||
Give: Nexus port number, SQLIte file path, exchange base URL, config file path."
|
Give: Nexus port number, SQLite file path, exchange base URL, config file path."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -36,13 +36,14 @@ set +e
|
|||||||
echo -n "Waiting for Sandbox.."
|
echo -n "Waiting for Sandbox.."
|
||||||
for n in `seq 1 50`; do
|
for n in `seq 1 50`; do
|
||||||
echo -n "."
|
echo -n "."
|
||||||
sleep 1
|
sleep 1
|
||||||
wget --timeout=1 \
|
wget --timeout=1 \
|
||||||
--tries=3 --waitretry=0 \
|
--tries=3 --waitretry=0 \
|
||||||
-o /dev/null -O /dev/null \
|
-o /dev/null -O /dev/null \
|
||||||
$LIBEUFIN_SANDBOX_URL
|
$LIBEUFIN_SANDBOX_URL
|
||||||
break
|
break
|
||||||
done
|
done
|
||||||
|
sleep 1 #7293
|
||||||
echo OK
|
echo OK
|
||||||
|
|
||||||
register_sandbox_account() {
|
register_sandbox_account() {
|
||||||
@ -120,13 +121,14 @@ echo -n Waiting for Nexus..
|
|||||||
set +e
|
set +e
|
||||||
for n in `seq 1 50`; do
|
for n in `seq 1 50`; do
|
||||||
echo -n "."
|
echo -n "."
|
||||||
sleep 1
|
sleep 1
|
||||||
wget --timeout=1 \
|
wget --timeout=1 \
|
||||||
--tries=3 --waitretry=0 \
|
--tries=3 --waitretry=0 \
|
||||||
-o /dev/null -O /dev/null \
|
-o /dev/null -O /dev/null \
|
||||||
$LIBEUFIN_NEXUS_URL
|
$LIBEUFIN_NEXUS_URL
|
||||||
break
|
break
|
||||||
done
|
done
|
||||||
|
sleep 1 #7293
|
||||||
set -e
|
set -e
|
||||||
echo OK
|
echo OK
|
||||||
export LIBEUFIN_NEXUS_USERNAME=exchange
|
export LIBEUFIN_NEXUS_USERNAME=exchange
|
||||||
|
Loading…
Reference in New Issue
Block a user