Code Review
/
infra
/
cicd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
eiffel: Fix github http, api urls and credentials
[infra/cicd.git]
/
jjb
/
geode
/
apache-geode-slave
/
slave_setup.sh
diff --git
a/jjb/geode/apache-geode-slave/slave_setup.sh
b/jjb/geode/apache-geode-slave/slave_setup.sh
index 91615e08a21a345069d0d903c5c4c5a4df473bc2..306636a4afaaceced4750303bf1c667bdc520fd4 100755
(executable)
--- a/
jjb/geode/apache-geode-slave/slave_setup.sh
+++ b/
jjb/geode/apache-geode-slave/slave_setup.sh
@@
-27,11
+27,11
@@
while sudo lsof ${DPKG_LOCK} > /dev/null 2>&1 ; do
echo "DPKG file locked: ${DPKG_LOCK}."
echo " Waiting for another pkg instalaltion process to finish ..."
sleep 10
echo "DPKG file locked: ${DPKG_LOCK}."
echo " Waiting for another pkg instalaltion process to finish ..."
sleep 10
- if [[ ${try} -gt
3
0 ]] ; then
+ if [[ ${try} -gt
6
0 ]] ; then
echo "ERROR: Max number of re-tries reached, exiting..."
exit 1
fi
echo "ERROR: Max number of re-tries reached, exiting..."
exit 1
fi
- let "try++"
+ try=$((try + 1))
done
sudo apt-get update
done
sudo apt-get update