xcat-core/makeclientdeb
2008-05-05 21:04:10 +00:00

16 lines
389 B
Bash
Executable File

#!/bin/sh
set -e
# debian doesn't like caps in package names (and we want to trim the .svn dirs)
[ -d xcat-client-2.0 ] || cp -R xCAT-client-2.0 xcat-client-2.0
cd xcat-client-2.0
#rm debian/files
find . -name .svn | xargs rm -rf
deps=$(../debperldepends)
sed -e "s/###debian-depends###/$deps/" <debian/control.template >debian/control
dpkg-buildpackage -b
cd ..
rm -rf xcat-client-2.0