Skip to content
Snippets Groups Projects
Commit fabc53c7 authored by Corné Lukken's avatar Corné Lukken
Browse files

L2SS-287: Use better temporary directory for start-ds.sh

parent 5d3d097a
No related branches found
No related tags found
1 merge request!146L2SS-287: implement python packaging
...@@ -22,9 +22,10 @@ if [[ $TANGOSTATIONCONTROL ]]; then ...@@ -22,9 +22,10 @@ if [[ $TANGOSTATIONCONTROL ]]; then
else else
# Install the package, exit 1 if it fails # Install the package, exit 1 if it fails
cd tangostationcontrol || exit 1 cd tangostationcontrol || exit 1
python3 setup.py build --build-base /tmp/ egg_info --egg-base /tmp/ bdist_wheel --dist-dir /tmp/ || exit 1 mkdir -p /tmp/tangostationcontrol
python3 setup.py build --build-base /tmp/tangostationcontrol egg_info --egg-base /tmp/tangostationcontrol bdist_wheel --dist-dir /tmp/tangostationcontrol || exit 1
# shellcheck disable=SC2012 # shellcheck disable=SC2012
sudo pip install "$(ls -Art /tmp/*.whl | tail -n 1)" sudo pip install "$(ls -Art /tmp/tangostationcontrol/*.whl | tail -n 1)"
fi fi
/usr/local/bin/wait-for-it.sh "$TANGO_HOST" --timeout=30 --strict -- "$@" /usr/local/bin/wait-for-it.sh "$TANGO_HOST" --timeout=30 --strict -- "$@"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment