distro/tests: script nitpicks

parent 3b66eb4c
......@@ -18,7 +18,7 @@ case "$repo" in
echo -e 'repos:\n - knot-dns-latest' > repos.yaml
;;
*)
echo "Unknown repo, choose devel|latest"
echo "Unknown repo, choose devel|latest|testing"
exit 1
;;
esac
......
......@@ -11,8 +11,10 @@ package=knot
if ! [[ "$1" == *-devel ]]; then
read -p "Pushing to '$project', are you sure? [y/N]: " yn
case $yn in
[Yy]* ) break;;
* ) exit 1; break;;
[Yy]* )
;;
* )
exit 1
esac
fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment