diff options
author | Sybren A. Stüvel <sybren@blender.org> | 2019-12-24 13:27:26 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@blender.org> | 2019-12-24 14:10:54 +0300 |
commit | d6169384491bf9c4b944d67fadf802bec861adda (patch) | |
tree | c68795a68a9a76b6f27d04148e19a8fd3d132f9e | |
parent | 3e1dc563650ee8bf4e264c26f06ff79f3b60f68a (diff) |
install_deps.sh: show which parameter is wrong
Previously, when an unknown parameter was passed to `install_deps.sh`,
the script would just show "Wrong parameter!" without any context. This
can make it hard to figure out what's exactly going wrong. Now it prints
which parameter it thinks is wrong.
-rwxr-xr-x | build_files/build_environment/install_deps.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build_files/build_environment/install_deps.sh b/build_files/build_environment/install_deps.sh index 68eceb21845..b6184ecb33a 100755 --- a/build_files/build_environment/install_deps.sh +++ b/build_files/build_environment/install_deps.sh @@ -767,7 +767,7 @@ while true; do ;; *) PRINT "" - ERROR "Wrong parameter! Usage:" + ERROR "Wrong parameter '$1'; Usage:" PRINT "" PRINT "`eval _echo "$COMMON_INFO"`" PRINT "" |