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
cafc5cad
Commit
cafc5cad
authored
Oct 07, 2010
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
misc changes
parent
0d8ffd58
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
5 deletions
+8
-5
gpull
bin/gpull
+1
-1
gpush
bin/gpush
+1
-1
loginhsh
bin/loginhsh
+1
-1
myhsh
bin/myhsh
+5
-2
No files found.
bin/gpull
View file @
cafc5cad
...
...
@@ -4,7 +4,7 @@
.
`
dirname
$0
`
/../share/eterbuild/functions/common
load_mod git
if
[
"
$1
"
=
"-h"
]
;
then
if
[
"
$1
"
=
"-h"
]
||
[
"
$1
"
=
"--help"
]
;
then
echo
"gpull - do git pull --rebase"
echo
"Use: gpull [-a] [-n] [repo] [branch]"
echo
" gpull without parameters or with branch name"
...
...
bin/gpush
View file @
cafc5cad
...
...
@@ -15,7 +15,7 @@ if is_girar_name $1 ; then
shift
fi
if
[
"
$1
"
=
"-h"
]
;
then
if
[
"
$1
"
=
"-h"
]
||
[
"
$1
"
=
"--help"
]
;
then
echo
"gpush - publish current project repo remote git repo"
echo
"Use: gpush [GIRAR] [-f|--force] [-a|--all] [-t|--tags] [target branch]"
exit
1
...
...
bin/loginhsh
View file @
cafc5cad
...
...
@@ -69,7 +69,7 @@ mygetopts $LISTARGS
# export OURAPTCONF with temp. file contains correct path to sources.list
prepare_aptconfig
HASHERARG
=
"
$HASHERARG
--apt-config=
$OURAPTCONF
--target
$DEFAULTARCH
"
HASHERARG
=
"
$HASHERARG
--apt-config=
$OURAPTCONF
--target
$DEFAULTARCH
--with-stuff
"
set_hasherdir
if
[
-n
"
$TESTMODE
"
]
||
[
-n
"
$AUTOMODE
"
]
;
then
...
...
bin/myhsh
View file @
cafc5cad
...
...
@@ -10,6 +10,8 @@
.
`
dirname
$0
`
/../share/eterbuild/functions/common
load_mod hasher
WITHSTUFF
=
"--with-stuff"
#############################
Usage
=
"Usage:
$name
[-m -s -u -i -c -l] src.rpm..."
function
mygetopts
()
...
...
@@ -23,7 +25,7 @@ phelp()
echog
"
$Usage
"
echog
"Options:"
echog
" -i - install built packages in test hasher"
echog
" -c - build without stuff (previous built packages)"
echog
" -c - build without stuff (
without
previous built packages)"
echog
" -l - lazy cleanup (before build, not after)"
}
...
...
@@ -33,7 +35,7 @@ while getopts :hmicl opt; do
h
)
phelp
;
exit
0
;;
i
)
TESTINSTALL
=
1
;;
l
)
HASHERARG
=
"
$HASHERARG
--lazy-cleanup"
;;
c
)
HASHERARG
=
"
$HASHERARG
--without-stuff"
;;
c
)
WITHSTUFF
=
"
--without-stuff"
;;
+?
)
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;;
?
)
OPTIND
=
$((
OPTIND-1
))
;
break
;
...
...
@@ -54,6 +56,7 @@ mygetopts $LISTARGS
RESULT
=
0
HASHERARG
=
"
$HASHERARG
$WITHSTUFF
"
set_hasherdir
mkdir
-p
$LOGDIR
$HASHERDIR
||
fatal
"cannot mkdir"
...
...
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