yast2-casa-ats: check in build script for autobuild
This commit is contained in:
parent
5deee61fea
commit
dabe4594ac
19
CASA-auth-token/yast2-casa-ats/build_config/linux/autobuild
Executable file
19
CASA-auth-token/yast2-casa-ats/build_config/linux/autobuild
Executable 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
|
Loading…
Reference in New Issue
Block a user