Skip to content

Commit

Permalink
fix installation tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pierky committed Aug 7, 2018
1 parent 10fb99f commit 033493f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions tests/docker/build
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,11 @@ ars_ver="`python -c 'from pierky.arouteserver.version import __version__; print(
ars_package="${root}/dist/arouteserver-${ars_ver}.tar.gz"

if [ ! -e "${ars_package}" ]; then
echo "ERROR: can't find $ars_package"
exit 1
ars_package="`ls -t ${root}/dist/arouteserver-*.tar.gz | head -n 1`"
if [ ! -e "${ars_package}" ]; then
echo "ERROR: can't find $ars_package"
exit 1
fi
fi

cd tests/docker
Expand Down

0 comments on commit 033493f

Please sign in to comment.