From: Sage Weil Date: Sun, 20 Feb 2011 04:43:27 +0000 (-0800) Subject: reprepro fixup 2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=635c5d768cbceb81c1eed596d188e43da440b88b;p=ceph-build.git reprepro fixup 2 --- diff --git a/gen_reprepro_conf.sh b/gen_reprepro_conf.sh index 8b0373918..2d375c695 100755 --- a/gen_reprepro_conf.sh +++ b/gen_reprepro_conf.sh @@ -5,10 +5,12 @@ comp="$2" if [ -e "$path/conf/dists" ]; then dists=`cat $path/conf/dists` -else if [ -e "$path/../dists" ]; then - dists=`cat $path/../dists` else - dists="$3" + if [ -e "$path/../dists" ]; then + dists=`cat $path/../dists` + else + dists="$3" + fi fi if [ -e "$path/conf/components" ]; then