Commit 31d6a8f6 authored by Vitaly Lipatov's avatar Vitaly Lipatov

rpmbph: fix -f (force) handling

parent ab11912d
...@@ -51,7 +51,7 @@ while getopts :hnuaAfvqb: opt; do ...@@ -51,7 +51,7 @@ while getopts :hnuaAfvqb: opt; do
h) phelp; exit 0 ;; h) phelp; exit 0 ;;
n) NOBUILD=1 ;; n) NOBUILD=1 ;;
u|a|A) PASSEDARGS="$PASSEDARGS -$opt" ;; u|a|A) PASSEDARGS="$PASSEDARGS -$opt" ;;
f) PASSEDARGS="$PASSEDARGS -$opt" ;; f) FORCE=1 ; PASSEDARGS="$PASSEDARGS -$opt" ;;
v) VERBOSE=1 ;; v) VERBOSE=1 ;;
b) BINARYREPONAME=$OPTARG ;; b) BINARYREPONAME=$OPTARG ;;
q) QUIET=1 ;; q) QUIET=1 ;;
......
...@@ -22,6 +22,7 @@ load_mod rpm tarball alt git web buildsrpm branch ...@@ -22,6 +22,7 @@ load_mod rpm tarball alt git web buildsrpm branch
SIGN= SIGN=
SIGNTAG= SIGNTAG=
FORCE=
UPLOADNOW= UPLOADNOW=
CHECKONLY= CHECKONLY=
NOSOURCE= NOSOURCE=
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment