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
32ac9c92
You need to sign in or sign up before continuing.
Commit
32ac9c92
authored
Jan 08, 2009
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix LISTNAMES/LISTARGS (remove first space), fix checking for file in rpmgs
parent
1c39b717
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
rpmgs
bin/rpmgs
+1
-1
common
share/eterbuild/functions/common
+5
-2
No files found.
bin/rpmgs
View file @
32ac9c92
...
...
@@ -179,7 +179,7 @@ if [ -n "$LISTARGS" ] ; then
if
[
-z
"
${
LISTARGS
/*spec/
}
"
]
;
then
fatal
"run with incorrect filename
$LISTARGS
"
fi
if
[
-f
"
$LISTNAMES
"
]
;
then
if
[
!
-f
"
$LISTNAMES
"
]
;
then
fatal
"set version permitted only for one file"
fi
if
[
"
${
LISTARGS
/ /
}
"
!=
"
$LISTARGS
"
]
;
then
...
...
share/eterbuild/functions/common
View file @
32ac9c92
...
...
@@ -124,8 +124,8 @@ fi
MENV
=
SS
set_target_type
$(
basename
`
pwd
`
)
LISTNAMES
=
""
LISTARGS
=
""
LISTNAMES
=
LISTARGS
=
OPTINDEX
=
1
for
i
in
"
$@
"
do
...
...
@@ -136,6 +136,9 @@ do
set_target_type
${
i
/-/
}
||
LISTARGS
=
"
$LISTARGS
$i
"
fi
done
# remove extra space before list
LISTNAMES
=
$(
echo
"
$LISTNAMES
"
|
sed
-e
"s|^ ||"
)
LISTARGS
=
$(
echo
"
$LISTARGS
"
|
sed
-e
"s|^ ||"
)
# parse MENV
detect_target_env
[
-n
"
$VERBOSE
"
]
&&
echo
"LISTNAMES=
$LISTNAMES
LISTARGS=
$LISTARGS
"
||
:
...
...
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