Commit 2a5bdd6a authored by Vitaly Lipatov's avatar Vitaly Lipatov

rpmbph: fix -n using again

parent eefa7a9e
...@@ -301,8 +301,7 @@ if [ $# -gt 0 ]; then ...@@ -301,8 +301,7 @@ if [ $# -gt 0 ]; then
fi fi
# pass other options to RPM (exclude -n -v): # pass other options to RPM (exclude -n -v):
LISTRPMARGS=$(drop_args "$@" n v) LISTRPMARGS=$(drop_args "$*" n v)
} }
if is_girar_name $1 ; then if is_girar_name $1 ; then
......
...@@ -15,3 +15,5 @@ check 3 "-U" "$(drop_args " -h -U " h)" ...@@ -15,3 +15,5 @@ check 3 "-U" "$(drop_args " -h -U " h)"
check 4 "-U -i" "$(drop_args " -h -U -i" h)" check 4 "-U -i" "$(drop_args " -h -U -i" h)"
check 5 "" "$(drop_args " -h -U " h U)" check 5 "" "$(drop_args " -h -U " h U)"
check 6 "" "$(drop_args " -h -U " U h)" check 6 "" "$(drop_args " -h -U " U h)"
check 7 "-z" "$(drop_args "-v -n -z" v n)"
check 8 "" "$(drop_args "$*" v n)"
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