aboutsummaryrefslogtreecommitdiffstats
path: root/libraries/vendors/compile-osvvm.sh
diff options
context:
space:
mode:
authorPatrick Lehmann <Patrick.Lehmann@tu-dresden.de>2016-06-20 07:52:44 +0200
committertgingold <tgingold@users.noreply.github.com>2016-06-20 07:52:44 +0200
commitf2b83716c79e7c6123aa9b6215a6dc6ac1c9d83b (patch)
tree0c8aa39c2da9eee985242342f9ef7718a023075e /libraries/vendors/compile-osvvm.sh
parente2587eb9137f627f4ec51a80dfe641394197d975 (diff)
downloadghdl-f2b83716c79e7c6123aa9b6215a6dc6ac1c9d83b.tar.gz
ghdl-f2b83716c79e7c6123aa9b6215a6dc6ac1c9d83b.tar.bz2
ghdl-f2b83716c79e7c6123aa9b6215a6dc6ac1c9d83b.zip
Compile scripts: Implemented a default installation directory guessing. Fixed minor issues (see #85). (#88)
Diffstat (limited to 'libraries/vendors/compile-osvvm.sh')
-rwxr-xr-xlibraries/vendors/compile-osvvm.sh8
1 files changed, 4 insertions, 4 deletions
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 <GHDL BinDir> Path to GHDL binary directory e.g. /usr/bin."
+ echo " --ghdl <GHDL Binary> Path to GHDL's binary e.g. /usr/local/bin/ghdl."
echo " --out <dir name> Name of the output directory."
- echo " --src <Path to OSVVM> Name of the output directory."
+ echo " --src <Path to OSVVM> Path to the source directory."
echo ""
echo "Verbosity:"
echo " -n --no-warnings Suppress all warnings. Show only error messages."