summaryrefslogtreecommitdiff
path: root/archPackagesUpdate
diff options
context:
space:
mode:
Diffstat (limited to 'archPackagesUpdate')
-rwxr-xr-xarchPackagesUpdate5
1 files changed, 4 insertions, 1 deletions
diff --git a/archPackagesUpdate b/archPackagesUpdate
index dda0538c5..aa2f4911b 100755
--- a/archPackagesUpdate
+++ b/archPackagesUpdate
@@ -7,7 +7,10 @@ pkgDir='/srv/http/vhosts/eckner.net/archlinuxewe/os'
pkgDir32Mount='/mnt/mirror.archlinux32.org'
pkgDir32="${pkgDir32Mount}/x86_64/releng"
pkgSrcDir=$(dirname $(readlink -f -n "$0"))
-submoduleDir=$(readlink -e "${pkgSrcDir}/../submodules")
+if ! submoduleDir=$(readlink -e "${pkgSrcDir}/../submodules"); then
+ >&2 echo 'Submodule directory not found.'
+ exit 1
+fi
export SRCDEST="${HOME}/packageSources"
export PACKAGER='Erich Eckner <arch at eckner dot net>'
key='5FDCA472AB93292BC678FD59255A76DB9A12601A'