blingbuilder.sh | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-)
New commits: commit d057f76bef829abda073518f65bc8f82245c529d Author: Sean Finney <[email protected]> Date: Mon Apr 13 10:05:10 2009 +0200 determine the branch based on the target diff --git a/blingbuilder.sh b/blingbuilder.sh index 77ff452..fabea30 100755 --- a/blingbuilder.sh +++ b/blingbuilder.sh @@ -26,9 +26,21 @@ packages() { esac } +branch() { + case "$1" in + lenny-backports) + echo debian-lenny-backports + ;; + *) + echo debian-unstable + ;; + esac + +} + pkglist="`packages $1`" -defbranch="$2" -shift 2 +defbranch="`branch $1`" +shift repo(){ case "$1" in -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

