summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwheatdog <wheatdoge@gmail.com>2019-02-28 22:18:17 +0800
committerwheatdog <wheatdoge@gmail.com>2019-02-28 22:18:17 +0800
commit871677646497cef301e46a45c650b006ea29145e (patch)
treeff661db5e1a3b240a4fd4b1cfd9191c525aad303
parent325b4022fe22a3d41c54eebd66d7132b6f981c6c (diff)
downloadaurutils-extra-871677646497cef301e46a45c650b006ea29145e.tar.gz
aurutils-extra-871677646497cef301e46a45c650b006ea29145e.tar.zst
aurutils-extra-871677646497cef301e46a45c650b006ea29145e.zip
Fix the fetch logic
-rwxr-xr-xaur-fetch-all6
1 files changed, 4 insertions, 2 deletions
diff --git a/aur-fetch-all b/aur-fetch-all
index 45c18e2..05dc90e 100755
--- a/aur-fetch-all
+++ b/aur-fetch-all
@@ -8,6 +8,7 @@ readonly argv0=fetch-all
readonly PS4='+(${BASH_SOURCE}:${LINENO}): ${FUNCNAME[0]:+${FUNCNAME[0]}(): }'
# default arguments
+repo_args=()
pkgbuild_dir="${PKGBUILD_DIR}"
aurpkg_file="${AURPKG_FILE}"
@@ -154,8 +155,9 @@ if ((fetch)); then
while read -r pkg; do
aurpublish -p "$pkg"
done <"$tmp"/queue
+
+ # handle vcs package
+ AURDEST="$pkgbuild_dir" aur vercmp-devel
fi
-# handle vcs package
-AURDEST="$pkgbuild_dir" aur vercmp-devel
# vim: set et sw=4 sts=4 ft=sh: