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
f71962d8
Commit
f71962d8
authored
Feb 14, 2010
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpmgp: s/srpms/gears, rewrite code
parent
1f8f2841
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
rpmgp
bin/rpmgp
+6
-4
No files found.
bin/rpmgp
View file @
f71962d8
...
...
@@ -260,11 +260,13 @@ if [ -n "$CLONEGIT" ] ; then
INITLETTER
=
$(
echo
$PKGNAME
|
cut
-c1
)
# http://git.altlinux.org/gears/N/NAME.git
echo
"Remote clone from /gears/
$INITLETTER
/
$PKGNAME
.git ..."
if
!
ssh
$GIRARHOST
clone /srpms/
$INITLETTER
/
$PKGNAME
.git packages/
$PKGNAME
.git
;
then
RREPO
=
"/gears/
$INITLETTER
/
$PKGNAME
.git"
echo
"Remote clone from
$RREPO
..."
if
!
ssh
$GIRARHOST
clone
$RREPO
packages/
$PKGNAME
.git
;
then
# http://git.altlinux.org/srpms/N/NAME.git
echo
"Remote clone from /srpms/
$INITLETTER
/
$PKGNAME
.git ..."
ssh
$GIRARHOST
clone /srpms/
$INITLETTER
/
$PKGNAME
.git packages/
$PKGNAME
.git
||
warning
"Can't remote clone."
RREPO
=
"/srpms/
$INITLETTER
/
$PKGNAME
.git"
echo
"Remote clone from
$RREPO
..."
ssh
$GIRARHOST
clone
$RREPO
packages/
$PKGNAME
.git
||
warning
"Can't remote clone."
fi
git clone git.alt:packages/
$PKGNAME
.git
...
...
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