diff --git a/build-debs-all b/build-debs-all index 857d5ac..640c7c9 100755 --- a/build-debs-all +++ b/build-debs-all @@ -18,7 +18,7 @@ ############ function pingusage() { - printf "Usage: %s ] \n" $(basename $0) >&2 + printf "Usage: [BUILDPKGS=\"pkgname1 pkgname2 ...\"] %s ] \n" $(basename $0) >&2 } function makedeb { @@ -71,7 +71,12 @@ __EOF__ #update to the loatest code svn --quiet update -packages=`find . -maxdepth 2 -name make_deb.sh | cut -d/ -f 2 | xargs` +packages="" +if [ $BUILDPKGS ];then + packages=$BUILDPKGS +else + packages=`find . -maxdepth 2 -name make_deb.sh | cut -d/ -f 2 | xargs` +fi #fix 'all warnings being treated as errors' export NO_WERROR=1