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

fix messages

parent 70bfe18f
......@@ -19,6 +19,7 @@ if [ "$1" = "-b" ] ; then
shift 2
fi
# fill LISTARGS
parse_cmd_pre "$@"
#mygetopts $LISTARGS
......
......@@ -319,7 +319,7 @@ git_clone()
# clone remote git
if [ -n "$CLONEGIT" ] ; 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"
if cd $PKGNAME ; then
docmd git remote rename origin gear
......@@ -327,7 +327,7 @@ if [ -n "$CLONEGIT" ] ; then
fi
else
[ -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 ..."
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