summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-10-19 13:30:25 +0200
committerErich Eckner <git@eckner.net>2020-10-19 13:30:25 +0200
commitb316b5d643cab62f35742ab9868e738561556f24 (patch)
treef7249fc46ebe5e23fb33bc4464f54b55a4e75734
parentd7a8de982b1fddf4097e45877818bc56dabe6c64 (diff)
downloadbuff-di-wuff-b316b5d643cab62f35742ab9868e738561556f24.tar.xz
buff-di-wuff: save to ../httpdocs instead of fixed, absolute path
-rwxr-xr-xbuff-di-wuff2
1 files changed, 1 insertions, 1 deletions
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" \