Commit b2a00c31 authored by Vitaly Lipatov's avatar Vitaly Lipatov

fix texts

parent e4e55248
......@@ -67,7 +67,7 @@ echog "List of packages for build: \$LISTNAMES"
if [ -z "${LISTNAMES/*spec/}" ] ; then
echo "!!!!!!!!"
fatal "Please use src.rpm as argument, not spec"
fatal "Please, use src.rpm as argument, instead a spec"
fi
# Skip checking for tar arg
......
......@@ -235,6 +235,7 @@ if [ -n "$UPLOADNOW" ] && is_gear $SPECDIR ; then
check_gear_and_tag || fatal "Can't make tag"
TAG=$(get_last_tag)
# TODO: add check for repo (as in rpmgp) and run ginit if needed
docmd $ETERBUILDBIN/gpush $GIRARHOST $FORCE || fatal "gpush failed. Possibly you need to run '\$ ginit $GIRARHOST' for create remote repo."
echo
echo "Run build $PROJECTNAME at $GIRARHOST"
......
......@@ -261,8 +261,9 @@ function get_source_url()
function print_error()
{
echog "You have no spec files as arg"
echog "Please use for spec files only. If you wish to download src.rpm, use rpmgp script."
echog "Can't find any spec file. It is possible you run this script not in git dir."
echog "If you use old style build, run rpmgs with spec name as arg."
echog "If you wish to download src.rpm, use rpmgp script."
exit 1
}
......
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