Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/clean-cache
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-08-02 14:32:30 +0200
committerErich Eckner <git@eckner.net>2017-08-02 14:32:30 +0200
commit93d2b2ee8ae79b565d57f1692f96f37695ef8b39 (patch)
treebd42cc7643b7bd5ceaff1327d25cb22e0a48486f /bin/clean-cache
parent8601cfbc675a80160118ada110eb0988f7ae3c59 (diff)
remove unnecessary and confusing quotes
Diffstat (limited to 'bin/clean-cache')
-rwxr-xr-xbin/clean-cache6
1 files changed, 3 insertions, 3 deletions
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