index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2017-08-02 14:32:30 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-08-02 14:32:30 +0200 |
commit | 93d2b2ee8ae79b565d57f1692f96f37695ef8b39 (patch) | |
tree | bd42cc7643b7bd5ceaff1327d25cb22e0a48486f /bin/clean-cache | |
parent | 8601cfbc675a80160118ada110eb0988f7ae3c59 (diff) |
-rwxr-xr-x | bin/clean-cache | 6 |
diff --git a/bin/clean-cache b/bin/clean-cache index 726fd2e..83657b6 100755 --- a/bin/clean-cache +++ b/bin/clean-cache @@ -15,13 +15,13 @@ fi repos='build-support community-staging community-testing community core extra gnome-unstable kde-unstable staging testing' -mirror="$( +mirror"$( grep -m1 '^Server = ' '/etc/pacman.d/mirrorlist32' | \ cut -d= -f2 | \ sed 's|^\s*||' -)" +) -tmp_dir="$(mktemp -d)" +tmp_dir=$(mktemp -d) trap 'rm -rf --one-file-system "${tmp_dir}"' EXIT for repo in ${repos}; do |