Define '**' behavior explicitly

If globstar is set and  if the pattern '**' is followed by a ‘/’, only directories and subdirectories match.
This commit is contained in:
Alexey Golubev 2018-04-19 12:04:28 +03:00 committed by GitHub
parent 904b8ef165
commit 6a9c67795a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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"