Commit ae1a7434 authored by Vitaly Lipatov's avatar Vitaly Lipatov

rpmgs: fix comments

parent 0732c24e
...@@ -20,7 +20,7 @@ GETSOURCE="" ...@@ -20,7 +20,7 @@ GETSOURCE=""
LOADALL='' LOADALL=''
############################# #############################
Usage="Usage: $name [-a -f ] [spec] [new_version]" Usage="Usage: $name [-f] [spec] [new_version]"
function mygetopts() function mygetopts()
{ {
name=${0##*/} name=${0##*/}
...@@ -252,6 +252,7 @@ commit_tarball() ...@@ -252,6 +252,7 @@ commit_tarball()
local CURNAME local CURNAME
CURNAME=$(get_tardir_from_rules "$EXTTARBALL" $(basename "$TARBALL")) CURNAME=$(get_tardir_from_rules "$EXTTARBALL" $(basename "$TARBALL"))
if [ -z "$CURNAME" ] ; then if [ -z "$CURNAME" ] ; then
info "Can't get dir, just commit $(basename "$TARBALL") file"
EXTTARBALL="copy" EXTTARBALL="copy"
CURNAME=$(get_tardir_from_rules "$EXTTARBALL" $(basename "$TARBALL")) CURNAME=$(get_tardir_from_rules "$EXTTARBALL" $(basename "$TARBALL"))
[ -n "$CURNAME" ] || fatal "There is no correct '$EXTTARBALL:' line nor copy: in gear rules file for $(basename "$TARBALL"), needed for commit tarball" [ -n "$CURNAME" ] || fatal "There is no correct '$EXTTARBALL:' line nor copy: in gear rules file for $(basename "$TARBALL"), needed for commit tarball"
......
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