summaryrefslogblamecommitdiff
path: root/tools/maybe-replace
blob: 97bd19c8fceac576a6c251df1276433ff3675bee (plain) (tree)
1
2
3


                      
#!/bin/bash -eu
cat > "$1.tmp"
maybe-mv "$1.tmp" "$1"