20 lines
428 B
Plaintext
20 lines
428 B
Plaintext
|
#!/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
|