diff options
author | EuAndreh <eu@euandre.org> | 2023-05-03 17:31:43 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2023-05-03 17:31:43 -0300 |
commit | 84f2f651137af76ab05879d56983c9a0d0abb94a (patch) | |
tree | 3eb4da64d3be0af50e2373e14d782a0d21dd3394 /bin | |
parent | etc/guix/home.scm: Add "pandas" and "sklearn" Python packages (diff) | |
download | dotfiles-84f2f651137af76ab05879d56983c9a0d0abb94a.tar.gz dotfiles-84f2f651137af76ab05879d56983c9a0d0abb94a.tar.xz |
bin/ifnew: Create tmpfile in the same directory to leverage "mv" in the same filesystem
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/ifnew | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -91,7 +91,7 @@ FILE="${1:-}" eval "$(assert-arg -- "$FILE" 'FILE')" -STDIN="$(mkstemp)" +STDIN="$FILE.$(uuid).tmp" trap 'rm -f "$STDIN"' EXIT cat - > "$STDIN" |