Minor updates

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2675 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
nott 2009-01-30 17:54:03 +00:00
parent 1b18fb5ada
commit 67ae9ca307

View File

@ -3,12 +3,11 @@
# mkAIXsnap
#
# This script can be used to extract, build, tar, compress and upload
# the latest xCAT for AIX code.
# the latest xCAT for AIX snapshot code.
# - this will be the latest development snapshot
# - the snapshot should be created as needed
# - this script should run in the ../xcat-core/trunk directory
# (ex. /u/ntest/svn/workspace/xcat/xcat-core/trunk)
#
# - you will need SourceForge ssh access set up
# ( get the contents of .ssh/id_rsa.pub on your local machine
# and add it to .ssh/authorized_keys on shell1.sf.net in
@ -17,15 +16,12 @@
# /home/groups/x/xc/xcat/htdocs/aix/devel
# - the individual RPMs go to:
# /home/groups/x/xc/xcat/htdocs/aix/devel/core-snap
# - nothing will be added to the release download area
# - Since there is no release available for AIX yet
# each snap is complete
# - nothing is added to the release download area
#
BLDTOP=`pwd`
RPMDIR=$BLDTOP/aix-core-snap
VER=`cat Version`
# upload to SourceForge ??
UPLOAD=0
if [ "$1" == "UPLOAD" -o "$1" == "upload" ]; then
@ -101,14 +97,14 @@ gzip core-aix-snap.tar
if [ $UPLOAD == 1 ]; then
# clear out the old files - do this manually with winscp session!
# ssh nott@shell1.sf.net "cd /home/groups/x/xc/xcat/htdocs/aix/devel; rm -f *.gz; cd /home/groups/x/xc/xcat/htdocs/aix/devel/core-snap; rm -f *.rpm"
scp *.rpm nott,xcat@web.sourceforge.net:/home/groups/x/xc/xcat/htdocs/aix/devel/core-snap
scp core-aix-snap.tar.gz nott,xcat@web.sourceforge.net:/home/groups/x/xc/xcat/htdocs/aix/devel
scp core-aix-snap.tar.gz nott,xcat@web.sourceforge.net:/home/groups/x/xc/xcat/htdocs/aix/devel
# for dep-aix
#scp dep-aix-$VER.tar.gz nott,xcat@web.sourceforge.net:upload/
#scp dep-aix-$VER.tar.gz nott@web.sourceforge.net:uploads/
fi