Subversion Repositories se3

Rev

Rev 38 | Blame | Compare with Previous | Last modification | View Log | RSS feed

#!/bin/bash

# Patchage des numeros de versions

VERSION=$1

if [ -d build ]; then
        rm -r build
fi
mkdir build
cp -r se3slave/* build
cd build
../svnrmadm

mv DEBIAN/control ctrl
cat ctrl | sed -e "s/#VERSION#/$VERSION/g"> DEBIAN/control
rm  ctrl

echo "Version $VERSION du "`date` > var/cache/se3_slave_install/version

# Remise en place des droits sur les fichiers

chmod 755 DEBIAN -R
chmod 750 var/cache/se3_slave_install -R

cd ..

# Fabrication du paquet se3
dpkg-deb -b build se3-esclave_$VERSION\_i386.deb