diff options
author | Bernie Innocenti <bernie@codewiz.org> | 2010-08-23 17:39:50 (GMT) |
---|---|---|
committer | Bernie Innocenti <bernie@codewiz.org> | 2010-08-23 17:39:50 (GMT) |
commit | 4184f84f0e5c7fb0ab3559b6939c7362d4642447 (patch) | |
tree | 300f7947b4cc7684193ddd5100903a5661b24856 /rpms | |
parent | 0917967bbdaed5177cce31701d75cf031b154a0e (diff) |
uploadrpm: make repository configurable with env vars
Diffstat (limited to 'rpms')
-rwxr-xr-x | rpms/common/uploadrpm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/rpms/common/uploadrpm b/rpms/common/uploadrpm index 132cd75..f74ea1e 100755 --- a/rpms/common/uploadrpm +++ b/rpms/common/uploadrpm @@ -3,9 +3,9 @@ # Copyright 2007, 2008, 2010 Bernie Inncenti <bernie@codewiz.org> # -repodir=/upload/dextrose/testing/f11-0.88/rpms -arch=i386 -remote=sunjammer.sugarlabs.org +repodir=${REPODIR:-/upload/dextrose/testing/dxo2/rpms} +arch=${ARCH:-i386} +remote=${REMOTE:-upload.sugarlabs.org} me=`basename $0` if [ ! $# = 1 ] ; then @@ -21,7 +21,7 @@ else repourl="$repodir" fi -rsync="rsync -aP" +rsync="rsync -aP --no-group" spec=`basename $1` dir=`dirname $1` base=${spec/.spec} |