Define '**' behavior explicitly (#100)

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-21 12:14:26 +03:00 committed by GitHub
parent 904b8ef165
commit d725cd42a2
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"