From f2b83716c79e7c6123aa9b6215a6dc6ac1c9d83b Mon Sep 17 00:00:00 2001 From: Patrick Lehmann Date: Mon, 20 Jun 2016 07:52:44 +0200 Subject: Compile scripts: Implemented a default installation directory guessing. Fixed minor issues (see #85). (#88) --- libraries/vendors/compile-osvvm.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'libraries/vendors/compile-osvvm.sh') diff --git a/libraries/vendors/compile-osvvm.sh b/libraries/vendors/compile-osvvm.sh index 38aea81d6..f7bbdba5f 100755 --- a/libraries/vendors/compile-osvvm.sh +++ b/libraries/vendors/compile-osvvm.sh @@ -98,12 +98,12 @@ done # makes no sense to enable it for OSVVM SKIP_EXISTING_FILES=0 -if [ "$NO_COMMAND" == "TRUE" ]; then +if [ $NO_COMMAND -eq 1 ]; then HELP=TRUE fi if [ "$HELP" == "TRUE" ]; then - test "$NO_COMMAND" == "TRUE" && echo 1>&2 -e "${COLORED_ERROR} No command selected." + test $NO_COMMAND -eq 1 && echo 1>&2 -e "\n${COLORED_ERROR} No command selected." echo "" echo "Synopsis:" echo " A script to compile the simulation library 'OSVVM' for GHDL on Linux." @@ -127,9 +127,9 @@ if [ "$HELP" == "TRUE" ]; then echo " -H --halt-on-error Halt on error(s)." echo "" echo "Advanced options:" - echo " --ghdl Path to GHDL binary directory e.g. /usr/bin." + echo " --ghdl Path to GHDL's binary e.g. /usr/local/bin/ghdl." echo " --out Name of the output directory." - echo " --src Name of the output directory." + echo " --src Path to the source directory." echo "" echo "Verbosity:" echo " -n --no-warnings Suppress all warnings. Show only error messages." -- cgit v1.2.3