From dabe4594ace49743a3cf0fc80bdccd24823d228c Mon Sep 17 00:00:00 2001 From: soochoi Date: Tue, 6 Feb 2007 23:36:25 +0000 Subject: [PATCH] yast2-casa-ats: check in build script for autobuild --- .../build_config/linux/autobuild | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100755 CASA-auth-token/yast2-casa-ats/build_config/linux/autobuild diff --git a/CASA-auth-token/yast2-casa-ats/build_config/linux/autobuild b/CASA-auth-token/yast2-casa-ats/build_config/linux/autobuild new file mode 100755 index 00000000..01878691 --- /dev/null +++ b/CASA-auth-token/yast2-casa-ats/build_config/linux/autobuild @@ -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