Fixed directory the built rpms go in in the xcat build script

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2800 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
bp-sawyers 2009-02-24 02:35:49 +00:00
parent 16c5bf1bea
commit eabb23aef4

View File

@ -7,11 +7,11 @@
UPLOADUSER=bp-sawyers
export HOME=/root
export DESTDIR=`pwd`/core-snap
export SRCDIR=`pwd`/core-snap-srpms
cd `dirname $0`
VER=`cat Version`
GREP=grep
export DESTDIR=`pwd`/core-snap
export SRCDIR=`pwd`/core-snap-srpms
UPLOAD=0
if [ "$1" == "UPLOAD" ]; then
UPLOAD=1
@ -119,4 +119,4 @@ tar jcvf $CFNAME core-snap
chgrp xcat $CFNAME
chmod g+w $CFNAME
scp $CFNAME $UPLOADUSER,xcat@web.sourceforge.net:htdocs/yum/devel/
rsync -av --delete core-snap $UPLOADUSER,xcat@web.sourceforge.net:htdocs/yum/devel/
rsync -rlv --delete core-snap $UPLOADUSER,xcat@web.sourceforge.net:htdocs/yum/devel/