Commit 3038f6eb authored by Guillaume Perréal's avatar Guillaume Perréal
Browse files

Améliore le message d'erreur de bin/prezbuilder.

parent 6522463e
...@@ -22,7 +22,10 @@ checkdir() { ...@@ -22,7 +22,10 @@ checkdir() {
case "$1" in case "$1" in
dev|build) COMMAND="$1" ;; dev|build) COMMAND="$1" ;;
*) usage *)
echo "unknown command: '$1'" >&2
usage
;;
esac esac
export SRC="$(checkdir $2)" export SRC="$(checkdir $2)"
......
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