We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e78b02e commit 353b3d4Copy full SHA for 353b3d4
autogen.sh
@@ -89,7 +89,7 @@ fi
89
# ====== Configure with CMake ===============================================
90
if [ -e CMakeLists.txt ] ; then
91
rm -f CMakeCache.txt
92
- if [ "$*" != "" ] ; then
+ if [ $# -gt 0 ] ; then
93
CMAKE_OPTIONS="${CMAKE_OPTIONS} $*"
94
fi
95
echo "CMake options:${CMAKE_OPTIONS} . -DCMAKE_INSTALL_PREFIX=\"${installPrefix}\""
@@ -99,7 +99,8 @@ if [ -e CMakeLists.txt ] ; then
99
# ====== Configure with AutoConf/AutoMake ===================================
100
elif [ -e bootstrap ] ; then
101
./bootstrap
102
- ./configure $*
+ # shellcheck disable=SC2068
103
+ ./configure $@
104
105
else
106
echo >&2 "ERROR: Failed to configure with CMake or AutoMake/AutoConf!"
0 commit comments