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
1f8f2841
Commit
1f8f2841
authored
Feb 14, 2010
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
introduce GITREPODIR (. by default) and use it in rpmgp
parent
f72b1391
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
rpmgp
bin/rpmgp
+3
-4
config
etc/config
+3
-0
No files found.
bin/rpmgp
View file @
1f8f2841
...
...
@@ -241,15 +241,14 @@ if [ -n "$MIGRATEGEAR" ] ; then
echo
"Can't get basename for
$PKGNAME
, skipping"
continue
fi
echo
"Create gear repo
$BASENAME
from
$PKGNAME
"
GITALT
=
~/Projects/git-alt
GEARDIR
=
$GITALT
/
$BASENAME
echo
"Create gear repo
$BASENAME
from
$PKGNAME
in
$GITREPODIR
"
GEARDIR
=
$GITREPODIR
/
$BASENAME
test
-d
"
$GEARDIR
"
&&
fatal
"repo
$GEARDIR
already exits"
mkdir
-p
"
$GEARDIR
"
||
fatal
"can't create dir
$GEARDIR
"
cd
$GEARDIR
||
fatal
"can't cd to
$GEARDIR
"
git init-db
||
fatal
"can't init db"
gear-srpmimport
$PKGNAME
||
fatal
"can't import srpm
$PKGNAME
"
# remove src.rpm only if it was generated
# remove src.rpm only if it was generated
from spec
[
-z
${
INFILE
/*rpm/
}
]
||
rm
-vf
$PKGNAME
done
exit
0
...
...
etc/config
View file @
1f8f2841
...
...
@@ -87,3 +87,6 @@
# Skip error if there are unpackaged files in the build
#NOSTRICT_UNPACKAGED=1
# Path to default dir with git repos (used in rpmgp -m).
#GITREPODIR=.
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