Commit 1a5731c8 authored by Vitaly Lipatov's avatar Vitaly Lipatov

fix messages

parent 70bfe18f
...@@ -19,6 +19,7 @@ if [ "$1" = "-b" ] ; then ...@@ -19,6 +19,7 @@ if [ "$1" = "-b" ] ; then
shift 2 shift 2
fi fi
# fill LISTARGS
parse_cmd_pre "$@" parse_cmd_pre "$@"
#mygetopts $LISTARGS #mygetopts $LISTARGS
......
...@@ -319,7 +319,7 @@ git_clone() ...@@ -319,7 +319,7 @@ git_clone()
# clone remote git # clone remote git
if [ -n "$CLONEGIT" ] ; then if [ -n "$CLONEGIT" ] ; then
if [ -z "$MIGRATEGIRAR" ] ; then if [ -z "$MIGRATEGIRAR" ] ; then
RREPO=$(giter $GITHOST print girar pubrepo $PKGNAME) || fatal "$PKGNAME does not exists in $GIRARHOST:/gears, nor in $GIRARHOST:/srpms. Can't clone." RREPO=$(giter $GITHOST print girar pubrepo $PKGNAME) || fatal "$PKGNAME does not exist in $GIRARHOST:/gears, nor in $GIRARHOST:/srpms. Can't clone."
git_clone $RREPO || fatal "Can't clone $RREPO for $PKGNAME" git_clone $RREPO || fatal "Can't clone $RREPO for $PKGNAME"
if cd $PKGNAME ; then if cd $PKGNAME ; then
docmd git remote rename origin gear docmd git remote rename origin gear
...@@ -327,7 +327,7 @@ if [ -n "$CLONEGIT" ] ; then ...@@ -327,7 +327,7 @@ if [ -n "$CLONEGIT" ] ; then
fi fi
else else
[ -z "$PUBLICACCESS" ] || fatal "Can't remote clone via public access" [ -z "$PUBLICACCESS" ] || fatal "Can't remote clone via public access"
RREPO=$(giter $GITHOST print girar pubrepo $PKGNAME) || fatal "$PKGNAME does not exists in $GIRARHOST:/gears, nor in $GIRARHOST:/srpms. Can't clone." RREPO=$(giter $GITHOST print girar pubrepo $PKGNAME) || fatal "$PKGNAME does not exist in $GIRARHOST:/gears, nor in $GIRARHOST:/srpms. Can't clone."
echo "Remote clone from $RREPO ..." echo "Remote clone from $RREPO ..."
docmd ssh $GIRARHOST clone $RREPO packages/$PKGNAME.git || warning "Can't remote clone." docmd ssh $GIRARHOST clone $RREPO packages/$PKGNAME.git || warning "Can't remote clone."
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment