From b316b5d643cab62f35742ab9868e738561556f24 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 19 Oct 2020 13:30:25 +0200 Subject: buff-di-wuff: save to ../httpdocs instead of fixed, absolute path --- buff-di-wuff | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buff-di-wuff b/buff-di-wuff index 822a15d..2be2f21 100755 --- a/buff-di-wuff +++ b/buff-di-wuff @@ -2,7 +2,7 @@ set -e -cache_dir='/srv/arch-mirror/sources.archlinux32' +cache_dir=$(readlink -e "$(dirname "$0")/../httpdocs") mkdir -p \ "${cache_dir}/md5sum" \ -- cgit v1.2.3-70-g09d2