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:
parent
904b8ef165
commit
d725cd42a2
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue