summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/show-dependencies2
-rwxr-xr-xconf/default.conf3
2 files changed, 4 insertions, 1 deletions
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"