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
3e920915
Commit
3e920915
authored
Dec 04, 2008
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
skip sisyphus_check if build from git
fix description
parent
e83d9ca5
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
6 deletions
+9
-6
myhsh
bin/myhsh
+9
-6
No files found.
bin/myhsh
View file @
3e920915
#!/bin/sh
#!/bin/sh
-x
# 2003-2006, 2008 (c) Etersoft www.etersoft.ru
# Author: Vitaly Lipatov <lav@etersoft.ru>
# Public domain
...
...
@@ -11,7 +11,7 @@
.
$ETERBUILDDIR
/functions/hasher
#############################
Usage
=
"Usage:
$name
[-m -s -u -i -c] s
pec
..."
Usage
=
"Usage:
$name
[-m -s -u -i -c] s
rc.rpm
..."
function
mygetopts
()
{
name
=
${
0
##*/
}
...
...
@@ -83,14 +83,17 @@ fi
echog
"List of packages:
\$
LISTNAMES"
if
[
-z
"
${
LISTNAMES
/
^.
*spec/
}
"
]
;
then
if
[
-z
"
${
LISTNAMES
/*spec/
}
"
]
;
then
echo
"!!!!!!!!"
fatal
"Please use src.rpm as argument, not spec"
fi
echog
-n
"Checking with sisyphus_check..."
sisyphus_check
--no-check
=
$HASHER_NOCHECK
--files
$LISTNAMES
||
fatal
"check for sisyphus failed"
echog
"OK"
# Skip checking for tar arg
if
[
-n
"
${
LISTNAMES
/*tar/
}
"
]
;
then
echog
-n
"Checking with sisyphus_check..."
sisyphus_check
--no-check
=
$HASHER_NOCHECK
--files
$LISTNAMES
||
fatal
"check for sisyphus failed"
echog
"OK"
fi
# TODO: for add $LISTRPMARGS we need skip function for delete "our" params
HASHERARG
=
"--no-sisyphus-check=
$HASHER_NOCHECK
--apt-config=
$APTCONF
--target
$DEFAULTARCH
$HASHERARG
"
...
...
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