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
37c68a13
Commit
37c68a13
authored
Jul 22, 2017
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use EPMCMD instead epm
parent
88654461
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
loginhsh
bin/loginhsh
+1
-1
myhsh
bin/myhsh
+1
-1
runinhsh
bin/runinhsh
+2
-2
No files found.
bin/loginhsh
View file @
37c68a13
...
...
@@ -134,7 +134,7 @@ echog "Prepare hasher in $HASHERDIR ..."
UTILPKG
=
"mc eepm"
# GNOME program needs dbus-tools-gui
if
epm
requires
$LISTNAMES
2>/dev/null |
grep
-q
dbus
;
then
if
$EPMCMD
requires
$LISTNAMES
2>/dev/null |
grep
-q
dbus
;
then
echo
"dbus using detected, add dbus-tools-gui"
UTILPKG
=
"
$UTILPKG
dbus-tools-gui"
fi
...
...
bin/myhsh
View file @
37c68a13
...
...
@@ -69,7 +69,7 @@ if [ -n "$PRINTBINPKG" ] ; then
RPMHASHERDIR
=
$HASHERDIR
/repo/
$BUILDARCH
/RPMS.hasher
for
i
in
$LISTNAMES
;
do
#echog "Find binary packages for '$(basename $i)' in $RPMHASHERDIR ..."
BINPACKAGES
=
"
$BINPACKAGES
$(
epm
print binpkgfilelist
$RPMHASHERDIR
$i
)
"
BINPACKAGES
=
"
$BINPACKAGES
$(
$EPMCMD
print binpkgfilelist
$RPMHASHERDIR
$i
)
"
done
test
-n
"
$BINPACKAGES
"
||
fatal
"Can't find any binary packages for
$LISTNAMES
in
$(
ls
-l
$RPMHASHERDIR
)
"
...
...
bin/runinhsh
View file @
37c68a13
...
...
@@ -40,9 +40,9 @@ fi
# TODO --short
#PACKAGE=$(epmqf --quiet --short "$1")
COMMAND
=
"
$1
"
PACKAGE
=
$(
epm
qf
--quiet
"
$COMMAND
"
2>/dev/null
)
PACKAGE
=
$(
$EPMCMD
qf
--quiet
"
$COMMAND
"
2>/dev/null
)
if
[
-n
"
$PACKAGE
"
]
;
then
PACKAGE
=
$(
echo
"
$PACKAGE
"
|
epm
print name
for
package
)
PACKAGE
=
$(
echo
"
$PACKAGE
"
|
$EPMCMD
print name
for
package
)
else
PACKAGE
=
"
$COMMAND
"
fi
...
...
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