From 3a157b2530a9fdaa7e8b11f7f6c5b0c75e4b10d3 Mon Sep 17 00:00:00 2001
From: Ruud Beukema <beukema@astron.nl>
Date: Tue, 21 Nov 2017 20:36:25 +0000
Subject: [PATCH] Task #11527: Fixed bug in lofar-documentation build-script

---
 Docker/lofar-documentation/build_documentation.sh | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/Docker/lofar-documentation/build_documentation.sh b/Docker/lofar-documentation/build_documentation.sh
index 236351983f8..001971a6034 100755
--- a/Docker/lofar-documentation/build_documentation.sh
+++ b/Docker/lofar-documentation/build_documentation.sh
@@ -19,7 +19,7 @@ fi
 # Suggest user to make use of the predefined CMake settings based on the hostname passed to the container
 HOSTNAME=`hostname`
 if [ "lofardocker" != "$HOSTNAME" ]; then
-  echo "In order to use the CMake presets from the variants file 'variants.lofardocker'"
+  echo "In order to use the CMake presets from the variants file 'variants.lofar-documentation'"
   echo "run the docker container with the hostname argument:"
   echo "-h lofardocker"
   echo ""
@@ -44,8 +44,3 @@ cmake -DBUILD_DOCUMENTATION=ON ../..
 echo "Instructing CMake to build the documentation"
 make doc
 
-# Since we're running as root in the Docker container all created stuff ends up belonging to root. Allow others to do
-# whatever they want with it as well.
-echo "Setting permission on the generated content"
-chown -R 777 "$LOFAR_BRANCH_MOUNT_DIR/build"
-
-- 
GitLab