Force local resolution for tar
why the fuck
This commit is contained in:
parent
4e2732be3f
commit
ccdcfffcaa
@ -16,7 +16,7 @@ cd "$MINECRAFT_DIR" || exit 50
|
|||||||
# If the world directory exists, we need to ensure that we don't clobber it
|
# If the world directory exists, we need to ensure that we don't clobber it
|
||||||
if [ -d "world" ]; then
|
if [ -d "world" ]; then
|
||||||
echo "Backing up current world"
|
echo "Backing up current world"
|
||||||
tar czf "recover-world-$(date -Iseconds).tar.gz" world --remove-files
|
tar --force-local czf "recover-world-$(date -Iseconds).tar.gz" world --remove-files
|
||||||
fi
|
fi
|
||||||
# If it STILL exists, then we have a problem
|
# If it STILL exists, then we have a problem
|
||||||
if [ -d "world" ]; then
|
if [ -d "world" ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user