From 741b08359ccf5cfacf4de1acf599b4cf88551a98 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 2 Aug 2017 09:10:42 +0200 Subject: bin/show-dependencies: move output directory variable to conf/default.conf --- bin/show-dependencies | 2 +- conf/default.conf | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/bin/show-dependencies b/bin/show-dependencies index abd9ac3..730442d 100755 --- a/bin/show-dependencies +++ b/bin/show-dependencies @@ -79,7 +79,7 @@ for target_package in "$@"; do "${tmp_dir}/build-order" touch "${tmp_dir}/knots" - output="/srv/http/graphs/${target_package}.png" + output="${graphs_directory}/${target_package}.png" ( grep " $(str_to_regex "${target_package}")\$" "${tmp_dir}/original-build-order" || \ diff --git a/conf/default.conf b/conf/default.conf index ff47333..6e74bc6 100755 --- a/conf/default.conf +++ b/conf/default.conf @@ -51,6 +51,9 @@ straws_that_might_repair_failing_builds="$( ':with_build_support:clean_chroot:' )" +# where should dependency graphs be stored +graphs_directory='/srv/http/graphs' + # possibly pull in custom modifications [ -r "${base_dir}/conf/local.conf" ] && . "${base_dir}/conf/local.conf" -- cgit v1.2.3