From: Sage Weil Date: Thu, 16 Jun 2011 20:55:27 +0000 (-0700) Subject: gen_reprepro: take multiple dists on cmdline X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=32b31ee167e184b46bb64a60159ea8184958c013;p=ceph-build.git gen_reprepro: take multiple dists on cmdline --- diff --git a/gen_reprepro_conf.sh b/gen_reprepro_conf.sh index e1c5a7573..24363b67d 100755 --- a/gen_reprepro_conf.sh +++ b/gen_reprepro_conf.sh @@ -2,15 +2,13 @@ path="$1" comp="$2" +shift +shift if [ -e "$path/conf/dists" ]; then dists=`cat $path/conf/dists` else - if [ -e "$path/../../dists" ]; then - dists=`cat $path/../../dists` - else - dists="$3" - fi + dists="$*3" fi if [ -e "$path/conf/components" ]; then