diff --git a/contrib/dist/linux/buildrpm.sh b/contrib/dist/linux/buildrpm.sh index 3b609ee574..8e749ec621 100755 --- a/contrib/dist/linux/buildrpm.sh +++ b/contrib/dist/linux/buildrpm.sh @@ -185,7 +185,7 @@ while getopts bn:omif:t:dc:r:sR:h flag; do ;; c) configure_options="$configure_options $OPTARG" ;; - r) configure_options="$rpmbuild_options $OPTARG" + r) rpmbuild_options="$rpmbuild_options $OPTARG" ;; R) rpmtopdir="$OPTARG" ;;