From: Roi Dayan Date: Tue, 10 May 2016 07:13:53 +0000 (+0300) Subject: make-debs.sh: avoid creating recursive conf dir X-Git-Tag: v11.0.0~550^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=4a8c2fcba0be664f72e25120b6a43330d05dc032;p=ceph.git make-debs.sh: avoid creating recursive conf dir Before this commit when running make-debs.sh second time ln will create the conf symlink inside already exisiting conf dir that was created on the first tune. Signed-off-by: Roi Dayan --- diff --git a/make-debs.sh b/make-debs.sh index 076829bb327..2b309f57630 100755 --- a/make-debs.sh +++ b/make-debs.sh @@ -93,7 +93,9 @@ Suite: stable Components: main Architectures: i386 amd64 source EOF -ln -s $codename/conf conf +if [ ! -e conf ]; then + ln -s $codename/conf conf +fi reprepro --basedir $(pwd) include $codename WORKDIR/*.changes # # teuthology needs the version in the version file