Commit 46faf3b8 authored by Vitaly Lipatov's avatar Vitaly Lipatov

add gear server name as first parameter

parent f597eca7
......@@ -2,6 +2,7 @@
# load common functions, compatible with local and installed script
. `dirname $0`/../share/eterbuild/functions/common
load_mod git
#test -n "$SPECNAME" || SPECNAME=$(basename `pwd`).spec
......
......@@ -2,6 +2,7 @@
# load common functions, compatible with local and installed script
. `dirname $0`/../share/eterbuild/functions/common
load_mod git
if [ "$1" = "-h" ] ; then
echo "gpull [args] - do git pull --rebase"
......
......@@ -2,6 +2,7 @@
# load common functions, compatible with local and installed script
. `dirname $0`/../share/eterbuild/functions/common
load_mod git
#test -n "$SPECNAME" || SPECNAME=$(basename `pwd`).spec
......
......@@ -18,7 +18,7 @@
# load common functions, compatible with local and installed script
. `dirname $0`/../share/eterbuild/functions/common
load_mod rpm tarball
load_mod rpm tarball git
SIGN=
UPLOADNOW=
......@@ -156,6 +156,11 @@ rpmbs_copying_built()
fi
}
if is_girar_name $1 ; then
GIRARHOST=$1
shift
fi
parse_cmd_pre "$@"
# quotes brokes option handling
mygetopts $LISTARGS
......
......@@ -13,7 +13,7 @@
# load common functions, compatible with local and installed script
. `dirname $0`/../share/eterbuild/functions/common
load_mod rpm
load_mod rpm git
RESULT=0
REMCOM=
......@@ -62,6 +62,11 @@ LISTRPMARGS=$@
}
#############################
if is_girar_name $1 ; then
GIRARHOST=$1
shift
fi
parse_cmd_pre "$@"
mygetopts $LISTARGS
......
......@@ -10,7 +10,7 @@
# load common functions, compatible with local and installed script
. `dirname $0`/../share/eterbuild/functions/common
load_mod spec
load_mod spec git
REMOTE=
if [ "$1" = "-r" ] ; then
......@@ -18,6 +18,11 @@ if [ "$1" = "-r" ] ; then
shift
fi
if is_girar_name $1 ; then
GIRARHOST=$1
shift
fi
SPEC=$1
VER=$2
# need for rpmgs
......
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