Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
etersoft-build-utils
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
korinf
etersoft-build-utils
Commits
2a5bdd6a
Commit
2a5bdd6a
authored
Jul 27, 2010
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpmbph: fix -n using again
parent
eefa7a9e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
rpmbph
bin/rpmbph
+1
-2
test_drop_args.sh
tests/test_drop_args.sh
+2
-0
No files found.
bin/rpmbph
View file @
2a5bdd6a
...
...
@@ -301,8 +301,7 @@ if [ $# -gt 0 ]; then
fi
# pass other options to RPM (exclude -n -v):
LISTRPMARGS
=
$(
drop_args
"
$@
"
n v
)
LISTRPMARGS
=
$(
drop_args
"
$*
"
n v
)
}
if
is_girar_name
$1
;
then
...
...
tests/test_drop_args.sh
View file @
2a5bdd6a
...
...
@@ -15,3 +15,5 @@ check 3 "-U" "$(drop_args " -h -U " h)"
check 4
"-U -i"
"
$(
drop_args
" -h -U -i"
h
)
"
check 5
""
"
$(
drop_args
" -h -U "
h U
)
"
check 6
""
"
$(
drop_args
" -h -U "
U h
)
"
check 7
"-z"
"
$(
drop_args
"-v -n -z"
v n
)
"
check 8
""
"
$(
drop_args
"
$*
"
v n
)
"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment