summaryrefslogtreecommitdiff
path: root/archPackagesUpdate
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2021-03-26 08:24:10 +0100
committerErich Eckner <git@eckner.net>2021-03-26 08:24:10 +0100
commita7c14e801ed1e4a0ea2137619bab8140c2c54993 (patch)
tree4443031069cd9acaf5d261212fa15aec69fad0e8 /archPackagesUpdate
parent70d0c4cb24f17677a1fcdd28c05820d3826a687b (diff)
downloadarchlinuxewe-a7c14e801ed1e4a0ea2137619bab8140c2c54993.tar.xz
archPackagesUpdate: submoduleDir should be optional, really
Diffstat (limited to 'archPackagesUpdate')
-rwxr-xr-xarchPackagesUpdate5
1 files changed, 1 insertions, 4 deletions
diff --git a/archPackagesUpdate b/archPackagesUpdate
index 44a57cfdd..b102c9e31 100755
--- a/archPackagesUpdate
+++ b/archPackagesUpdate
@@ -7,10 +7,7 @@ pkgDir='/srv/http/vhosts/eckner.net/archlinuxewe/os'
pkgDir32Mount='/mnt/mirror.archlinux32.org'
pkgDir32="${pkgDir32Mount}/x86_64/releng"
pkgSrcDir=$(dirname $(readlink -f -n "$0"))
-if ! submoduleDir=$(readlink -e "${pkgSrcDir}/../submodules"); then
- >&2 echo 'Submodule directory not found.'
- exit 1
-fi
+submoduleDir=$(readlink -f -n "${pkgSrcDir}/../submodules")
export SRCDEST="${HOME}/packageSources"
export PACKAGER='Erich Eckner <arch at eckner dot net>'
key='5FDCA472AB93292BC678FD59255A76DB9A12601A'