summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-06-01 08:27:48 +0200
committerErich Eckner <git@eckner.net>2018-06-01 08:27:48 +0200
commita85a15ba4c3138a32a8032611df4715bca569a29 (patch)
tree9a59acb793700ec42380e6ec1ad205f44679692b
parentc6dabbf7f4a5dc66347e1da72d8903dbbbab7369 (diff)
downloadarchlinuxewe-a85a15ba4c3138a32a8032611df4715bca569a29.tar.xz
archPackagesUpdate: accept quoted source directory
-rwxr-xr-xarchPackagesUpdate7
1 files changed, 3 insertions, 4 deletions
diff --git a/archPackagesUpdate b/archPackagesUpdate
index 74a34aecf..224cdcaf9 100755
--- a/archPackagesUpdate
+++ b/archPackagesUpdate
@@ -468,10 +468,9 @@ then
fi
# update git sources
- find "$(
- grep '^SRCDEST=' makepkg.conf | \
- cut -d= -f2
- )" -mindepth 2 -maxdepth 2 -name 'HEAD' | \
+ eval "find '$(
+ grep '^SRCDEST=' makepkg.conf
+ )' -mindepth 2 -maxdepth 2 -name 'HEAD'" | \
sed 's|/[^/]*$||' | \
while read -r repo; do
git -C "${repo}" fetch --all -p