mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-01-21 19:25:43 +00:00
Fix locale sort not to use sponge
This commit is contained in:
@@ -31,6 +31,6 @@ for file in *.json; do
|
||||
fi
|
||||
|
||||
echo "Sorting $file"
|
||||
jq --tab --sort-keys . "$file" | sponge "$file"
|
||||
tmp=$(mktemp) && jq --tab --sort-keys . "$file" > "$tmp" && mv "$tmp" "$file"
|
||||
fi
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user