diff --git a/build-cran-package.sh b/build-cran-package.sh index 704edfbcc63e..0484609401e9 100755 --- a/build-cran-package.sh +++ b/build-cran-package.sh @@ -38,7 +38,7 @@ while [ $# -gt 0 ]; do --r-executable=*) LGB_R_EXECUTABLE="${1#*=}" ;; - --no-build-vignettes=*) + --no-build-vignettes*) BUILD_VIGNETTES=false ;; *)