summaryrefslogtreecommitdiff
path: root/docker/l10n-docker-nightly.sh
diff options
context:
space:
mode:
Diffstat (limited to 'docker/l10n-docker-nightly.sh')
-rwxr-xr-xdocker/l10n-docker-nightly.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/docker/l10n-docker-nightly.sh b/docker/l10n-docker-nightly.sh
index e921a4283..dcd72b0ee 100755
--- a/docker/l10n-docker-nightly.sh
+++ b/docker/l10n-docker-nightly.sh
@@ -53,6 +53,7 @@ echo "LibreOffice build target: '$LIBREOFFICE_BUILD_TARGET'"
SRCDIR=$(realpath `dirname $0`)
+INSTDIR="$SRCDIR/instdir"
if [ -z "$(lsb_release -si)" ]; then
echo "WARNING: Unable to determine your distribution"
@@ -62,7 +63,7 @@ if [ -z "$(lsb_release -si)" ]; then
else
HOST_OS=$(lsb_release -si)
fi
-if ! [ -e "$HOST_OS" ]; then
+if ! [ -e "$SRCDIR/$HOST_OS" ]; then
echo "There is no suitable Dockerfile for your host system."
echo "Please fix this problem and re-run $0"
exit 1