Verified Commit b8d34f85 authored by Tomas Krizek's avatar Tomas Krizek
Browse files

distro/tests: script nitpicks

parent 3b66eb4c
...@@ -18,7 +18,7 @@ case "$repo" in ...@@ -18,7 +18,7 @@ case "$repo" in
echo -e 'repos:\n - knot-dns-latest' > repos.yaml echo -e 'repos:\n - knot-dns-latest' > repos.yaml
;; ;;
*) *)
echo "Unknown repo, choose devel|latest" echo "Unknown repo, choose devel|latest|testing"
exit 1 exit 1
;; ;;
esac esac
......
...@@ -11,8 +11,10 @@ package=knot ...@@ -11,8 +11,10 @@ package=knot
if ! [[ "$1" == *-devel ]]; then if ! [[ "$1" == *-devel ]]; then
read -p "Pushing to '$project', are you sure? [y/N]: " yn read -p "Pushing to '$project', are you sure? [y/N]: " yn
case $yn in case $yn in
[Yy]* ) break;; [Yy]* )
* ) exit 1; break;; ;;
* )
exit 1
esac esac
fi 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