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
b16e320e
Commit
b16e320e
authored
Oct 02, 2016
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpmgs: load Source up to 100
parent
6bcdea96
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
rpmgs
bin/rpmgs
+6
-3
No files found.
bin/rpmgs
View file @
b16e320e
...
...
@@ -40,7 +40,7 @@ phelp()
while
getopts
:haf opt
;
do
case
$opt
in
h
)
phelp
;
exit
0
;;
a
)
LOADLIST
=
"
0 1 2 3 4 5 6 7 8
"
;;
a
)
LOADLIST
=
"
$(
seq
0 100
)
"
;;
f
)
FORCEDOWNLOAD
=
-f
;;
+?
)
echog
"
$name
: options should not be preceded by a '+'."
1>&2
;
exit
2
;;
?
)
echog
"
$name
:
$OPTARG
: bad option. Use -h for help."
1>&2
;
exit
2
;;
...
...
@@ -216,8 +216,11 @@ do
for
nn
in
""
$LOADLIST
do
get_source
$spec
"Source
$nn
"
[
"
$GETSOURCE$nn
"
=
"0"
]
&&
continue
test
-z
"
$GETSOURCE
"
&&
{
echog
"Skip Source
${
nn
}
from
$spec
"
;
continue
;
}
[
-z
"
$GETSOURCE
"
]
&&
continue
#[ "$GETSOURCE$nn" = "0" ] && continue
#test -z "$GETSOURCE" && { echog "Skip Source${nn} from $spec" ; continue ; }
FTB
=
`
basename
"
$GETSOURCE
"
`
# for get RPMSOURCEDIR
build_rpms_name
$spec
...
...
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