Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSybren A. Stüvel <sybren@blender.org>2019-12-24 13:27:26 +0300
committerSybren A. Stüvel <sybren@blender.org>2019-12-24 14:10:54 +0300
commitd6169384491bf9c4b944d67fadf802bec861adda (patch)
treec68795a68a9a76b6f27d04148e19a8fd3d132f9e /build_files
parent3e1dc563650ee8bf4e264c26f06ff79f3b60f68a (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.
Diffstat (limited to 'build_files')
-rwxr-xr-xbuild_files/build_environment/install_deps.sh2
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 ""