summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-07-01 08:58:06 +0200
committerErich Eckner <git@eckner.net>2020-07-01 08:58:06 +0200
commit4fad3821d01243c2161e1162dedfa0a1a107f146 (patch)
tree7b32a0aad3e6c79c2181da94d909036782f9c318
parent9c0372826f6306d12bc186619544a822fe68b29a (diff)
downloadarchlinuxewe-4fad3821d01243c2161e1162dedfa0a1a107f146.tar.xz
checkPinnedDependencies: cd into right directory first
-rwxr-xr-xcheckPinnedDependencies2
1 files changed, 2 insertions, 0 deletions
diff --git a/checkPinnedDependencies b/checkPinnedDependencies
index 9a0f22a73..7f04e768e 100755
--- a/checkPinnedDependencies
+++ b/checkPinnedDependencies
@@ -1,5 +1,7 @@
#!/bin/bash
+cd "$(dirname "$0")"
+
join -1 1 -2 2 -v 2 <(
find /var/lib/pacman/sync \
-name '*.db' \