xcat-core/build-debs
2008-06-27 15:25:42 +00:00

14 lines
364 B
Bash
Executable File

#!/bin/sh
# Accepts directories to build packages from on the commandline, but defaults
# to building: perl-xCAT-2.0 and xCAT-client-2.0
packages="${@:-perl-xCAT xCAT-client}"
for pkg in $packages; do
mkdir -p debs/$pkg
echo Building .dsc source package for $pkg
cd $pkg
svn-buildpackage --svn-ignore --svn-lintian --svn-move-to=../debs/$pkg
cd -
done