configure: remove bashism.

svn path=/trunk/; revision=59910
This commit is contained in:
Sylvain Petreolle 2013-08-31 00:05:29 +00:00
parent 2e11e06309
commit 7c164e2686

View file

@ -21,14 +21,14 @@ while [ $# -gt 0 ]; do
-D)
shift
if echo "x$1" | grep 'x?*=*' > /dev/null; then
ROS_CMAKEOPTS+=" -D $1"
ROS_CMAKEOPTS=$ROS_CMAKEOPTS" -D $1"
else
usage
fi
;;
-D?*=*|-D?*)
ROS_CMAKEOPTS+=" $1"
ROS_CMAKEOPTS=$ROS_CMAKEOPTS" $1"
;;
makefiles|Makefiles)
CMAKE_GENERATOR="Unix Makefiles"