Addressed syntax warning issue.

This commit is contained in:
Ward Fisher 2016-07-05 10:54:54 -06:00
parent 1114789512
commit 6334d45729

View File

@ -23,7 +23,7 @@ has_dap="yes"
fi
has_nc2="@BUILD_V2@"
if [ -z $has_nc2 -o "$has_nc2" = "OFF" ]; then
if [ -z $has_nc2 ] || [ "$has_nc2" = "OFF" ]; then
has_nc2="no"
else
has_nc2="yes"
@ -93,7 +93,7 @@ while test $# -gt 0; do
# this deals with options in the style
# --option=value and extracts the value part
# [not currently used]
-*=*) value=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
-*=*) value=$(echo "$1" | sed 's/[-_a-zA-Z0-9]*=//') ;;
*) value= ;;
esac