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

add gear server name as first parameter

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