diff options
author | Erich Eckner <git@eckner.net> | 2020-10-19 13:30:25 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2020-10-19 13:30:25 +0200 |
commit | b316b5d643cab62f35742ab9868e738561556f24 (patch) | |
tree | f7249fc46ebe5e23fb33bc4464f54b55a4e75734 | |
parent | d7a8de982b1fddf4097e45877818bc56dabe6c64 (diff) | |
download | buff-di-wuff-b316b5d643cab62f35742ab9868e738561556f24.tar.xz |
buff-di-wuff: save to ../httpdocs instead of fixed, absolute path
-rwxr-xr-x | buff-di-wuff | 2 |
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" \ |