Skip to content

Commit

Permalink
Addressed syntax warning issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
WardF committed Jul 5, 2016
1 parent 1114789 commit 6334d45
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ncxx4-config.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 6334d45

Please sign in to comment.