From 4a8c2fcba0be664f72e25120b6a43330d05dc032 Mon Sep 17 00:00:00 2001 From: Roi Dayan Date: Tue, 10 May 2016 10:13:53 +0300 Subject: [PATCH] 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 --- make-debs.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.47.3