summaryrefslogtreecommitdiff
path: root/archPackagesUpdate
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-02-19 11:49:16 +0100
committerErich Eckner <git@eckner.net>2020-02-19 11:49:16 +0100
commit05c2d01909d82fa68541aff8f82d968e76904ddf (patch)
treea0a846067aacc71dd555d470e249b4031a055603 /archPackagesUpdate
parent8f4b488a86a974b7b1c723d219d894d5b78bad5f (diff)
downloadarchlinuxewe-05c2d01909d82fa68541aff8f82d968e76904ddf.tar.xz
archPackagesUpdate: do not check for .git to see if it is a submodule - check .gitmodules directly
Diffstat (limited to 'archPackagesUpdate')
-rwxr-xr-xarchPackagesUpdate2
1 files changed, 1 insertions, 1 deletions
diff --git a/archPackagesUpdate b/archPackagesUpdate
index eec2fafb0..82aac38e2 100755
--- a/archPackagesUpdate
+++ b/archPackagesUpdate
@@ -882,7 +882,7 @@ else
grep "^# Maintainer\s*:" "${paket}/PKGBUILD" | \
grep -vq "^# Maintainer\s*:\s\+Erich Eckner\s\+<arch at eckner dot net>\$"; then
>&2 echo "${paket}/PKGBUILD hat falsche(n) Maintainer"
- if [ -d "${paket}/.git" ]; then
+ if grep -qxF '[submodule "'"${paket}"'"]' '.gitmodules'; then
continue
fi
err=true