From c95edcd443d97e0339ec847f79fc2ec5cb4b2747 Mon Sep 17 00:00:00 2001 From: xq2005 Date: Wed, 26 Jun 2013 09:56:50 +0000 Subject: [PATCH] build the dependent packages on ubuntu Former-commit-id: 36bbddc5cf6ff2115a06f5c4508dee86404ffd1c --- build-debs-all | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) 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