From d725cd42a2114f4dfe46ace0e37176f909b2cd4d Mon Sep 17 00:00:00 2001 From: Alexey Golubev Date: Sat, 21 Apr 2018 12:14:26 +0300 Subject: [PATCH] Define '**' behavior explicitly (#100) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit If globstar is set and if the pattern '**' is followed by a ‘/’, only directories and subdirectories match. --- run-document-server.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/run-document-server.sh b/run-document-server.sh index 74fbd34..3fe60dd 100755 --- a/run-document-server.sh +++ b/run-document-server.sh @@ -1,5 +1,8 @@ #!/bin/bash +# Define '**' behavior explicitly +shopt -s globstar + APP_DIR="/var/www/onlyoffice/documentserver" DATA_DIR="/var/www/onlyoffice/Data" LOG_DIR="/var/log/onlyoffice"