Commit acc04170 authored by Vitaly Lipatov's avatar Vitaly Lipatov

rpmgp: fix tabs and varname

parent 7c7081a6
......@@ -172,7 +172,7 @@ while getopts :habcdglmrs opt; do
d) DOWNLOADALL=1 ;;
g) CLONEGIT=1 ;;
l) LISTREQS=1 ;;
m) MIGRATEGEAR=1 ;;
m) MIGRATEGIRAR=1 ;;
r) UPDATECACHE=1 ;;
s) load_systems_list
list_systems
......@@ -250,7 +250,7 @@ if [ -n "$CLONEGIT" ] ; then
# http://git.altlinux.org/gears/N/NAME.git
RREPO="/gears/$REPOPATH"
if [ -z "$MIGRATEGEAR" ] ; then
if [ -z "$MIGRATEGIRAR" ] ; then
echo "Clone from $GIRARHOST:$RREPO ..."
if ! git clone $GIRARHOST:$RREPO ; then
# http://git.altlinux.org/srpms/N/NAME.git
......@@ -281,7 +281,7 @@ if [ -n "$CLONEGIT" ] ; then
exit $?
fi
if [ -n "$MIGRATEGEAR" ] ; then
if [ -n "$MIGRATEGIRAR" ] ; then
for INFILE in $LISTNAMES ; do
# call for each file due generated BASENAME
LISTNAMES=$INFILE pack_src_rpm $INFILE $LISTRPMARGS
......
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