From: Gary Lowell Date: Fri, 19 Oct 2012 16:41:33 +0000 (-0700) Subject: gen_reprepro_conf.sh: Set bindir variable. X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=c9bce5c291922d4d54167be140a3572c40cfb59a;p=ceph-build.git gen_reprepro_conf.sh: Set bindir variable. Need bindir to be set in order to find deb_dists when it's not in the current directory. --- diff --git a/gen_reprepro_conf.sh b/gen_reprepro_conf.sh index 41cb1772..f5ae0edb 100755 --- a/gen_reprepro_conf.sh +++ b/gen_reprepro_conf.sh @@ -2,9 +2,10 @@ set -e +bindir=`dirname $0` path="$1" -if [ ! -d $path ] ; then +if [ ! -d $path -o ! -d $path/conf ] ; then mkdir -p $path/conf fi