yast2-casa-ats: check in build script for autobuild

This commit is contained in:
soochoi 2007-02-06 23:36:25 +00:00
parent 5deee61fea
commit dabe4594ac

View File

@ -0,0 +1,19 @@
#!/bin/bash
## creating ENV varaibles
SOURCE_DIR=`pwd`
export BUILD_ROOT=$SOURCE_DIR/../autobuild/BUILD
VERSION=1.7.$1
sed -i "s/1.7.*/1.7.$1/" ./VERSION
make -f Makefile.svn
make
make package-local
cd $SOURCE_DIR/package
mkdir build
mkdir source
. /opt/SuSE/bin/.profile
sudo build --clean
cp -rp $BUILD_ROOT/usr/src/packages/RPMS ./build
cp -rp $BUILD_ROOT/usr/src/packages/SRPMS ./build
cp -p yast2* ./source