Skip to content
Snippets Groups Projects
Commit 43bfabba authored by Cédric Moreau's avatar Cédric Moreau
Browse files

fix(#157): review: either `--` launch or loop

parent d5d0d29e
No related branches found
No related tags found
1 merge request!214Resolve "Ease the installation of distance Oracle"
......@@ -6,8 +6,7 @@
if [ "$1" = -- ]; then
shift
distance-oracle "$@"
fi
else
ORACLE_RESULT_DIR="${ORACLE_RESULT_DIR:-/distance}"
ORACLE_EXECUTION_INTERVAL="${ORACLE_EXECUTION_INTERVAL:-1800}"
ORACLE_MAX_DEPTH="${ORACLE_MAX_DEPTH:-5}"
......@@ -19,3 +18,4 @@ while [ true ]; do
echo "Waiting $ORACLE_EXECUTION_INTERVAL seconds before next execution..."
sleep $ORACLE_EXECUTION_INTERVAL
done
fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment