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
064ed423
Commit
064ed423
authored
Dec 13, 2008
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cleanup code, remove obsoleted mailing code
parent
84626097
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
19 deletions
+1
-19
myhsh
bin/myhsh
+1
-19
No files found.
bin/myhsh
View file @
064ed423
...
...
@@ -8,7 +8,7 @@
# load common functions, compatible with local and installed script
.
`
dirname
$0
`
/../share/eterbuild/functions/common
.
$ETERBUILDDIR
/functions/
hasher
load_mod
hasher
#############################
Usage
=
"Usage:
$name
[-m -s -u -i -c] src.rpm..."
...
...
@@ -22,7 +22,6 @@ phelp()
echog
"
$Descr
"
echog
"
$Usage
"
echog
"Options:"
# echog " -m - mail result log"
echog
" -s - sign package(s)"
echog
" -u - sign and upload package(s) to Incoming"
echog
" -i - install built packages in test hasher"
...
...
@@ -32,7 +31,6 @@ phelp()
while
getopts
:hmic opt
;
do
case
$opt
in
h
)
phelp
;
exit
0
;;
# m) fatal "Mail is disabled for this version" ; TOMAIL=1 ;;
i
)
TESTINSTALL
=
1
;;
c
)
HASHERARG
=
"--without-stuff
$HASHERARG
"
;;
+?
)
echog
"
$name
: options should not be preceded by a '+'."
1>&2
;
exit
2
;;
...
...
@@ -53,22 +51,6 @@ LISTRPMARGS=$@
parse_cmd_pre
"
$@
"
mygetopts
$LISTARGS
# Start as mail helper
function
mail_build
()
{
MUTT
=
mutt
which
$MUTT
&>/dev/null
||
return
$0
"
$@
"
2>&1 |
$MUTT
"
$OWNERMAIL
"
-s
"Result of rebuild at
$HOSTNAME
at
`
date
`
"
}
if
[
-n
"
$TOMAIL
"
]
;
then
echog
"Build via email"
(
mail_build
$LISTNAMES
$LISTARGS
)
>
/dev/null 2>&1 &
echog
"Build request is accepted for:
$LISTNAMES
"
echog
"Report will be sending to:
$OWNERMAIL
"
exit
0
fi
RESULT
=
0
HASHERDIR
=
$HASHERDIR$MENVARG
...
...
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