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
c0bd5199
Commit
c0bd5199
authored
Nov 21, 2015
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
small fixes
parent
bc736c51
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
1 deletion
+9
-1
TODO
TODO
+2
-0
grpmbsh
bin/grpmbsh
+6
-1
rpm
share/eterbuild/functions/rpm
+1
-0
No files found.
TODO
View file @
c0bd5199
$ GIT_ALT=gear.alt girar-show
Применить shell check или что-то подобное
Применить shell check или что-то подобное
https://www.google.ru/search?q=lint+bash
https://www.google.ru/search?q=lint+bash
...
...
bin/grpmbsh
View file @
c0bd5199
...
@@ -17,9 +17,14 @@ if [ "$1" = "-h" ] || [ "$1" = "--help" ] ; then
...
@@ -17,9 +17,14 @@ if [ "$1" = "-h" ] || [ "$1" = "--help" ] ; then
exit
1
exit
1
fi
fi
OPTIONS
=
if
[
"
$1
"
=
"-i"
]
;
then
OPTIONS
=
"-i"
fi
for
i
in
"
$@
"
;
do
for
i
in
"
$@
"
;
do
docmd
cd
$i
||
fatal
"Please run in dir with '
$i
' subdirectory."
docmd
cd
$i
||
fatal
"Please run in dir with '
$i
' subdirectory."
docmd rpmbsh
$GIRARHOST
||
fatal
docmd rpmbsh
$GIRARHOST
$OPTIONS
||
fatal
cd
-
cd
-
done
done
share/eterbuild/functions/rpm
View file @
c0bd5199
...
@@ -151,6 +151,7 @@ get_pkgname_from_filename()
...
@@ -151,6 +151,7 @@ get_pkgname_from_filename()
echo
${
FN
/[-_][0-9]*/
}
echo
${
FN
/[-_][0-9]*/
}
}
}
# TODO: epm print srcname from filename
# return source package name by binary rpm package file
# return source package name by binary rpm package file
get_sourcepkg_name
()
get_sourcepkg_name
()
{
{
...
...
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