mirror of
https://github.com/Unidata/netcdf-cxx4.git
synced 2024-11-27 07:49:52 +08:00
Addressed syntax warning issue.
This commit is contained in:
parent
1114789512
commit
6334d45729
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user