We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d73d3e commit 7448d0eCopy full SHA for 7448d0e
1 file changed
bedrock-entry.sh
@@ -285,6 +285,8 @@ if [[ ! -f "$SERVER" ]]; then
285
fi
286
287
if [[ -n "${MC_PACK:-}" ]]; then
288
+ finallyShopt="$(shopt -p nullglob || true)"
289
+ shopt -s nullglob
290
if [[ -d "$MC_PACK" ]]; then
291
srcDir="$MC_PACK"
292
cleanupTmp=
@@ -374,6 +376,7 @@ if [[ -n "${MC_PACK:-}" ]]; then
374
376
375
377
[[ -n "$cleanupTmp" ]] && rm -rf "$srcDir"
378
379
+ eval "$finallyShopt"
380
381
382
if [[ -n "$OPS" || -n "$MEMBERS" || -n "$VISITORS" ]]; then
0 commit comments