diff options
Diffstat (limited to 'src')
-rwxr-xr-x | src/btarfs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -48,7 +48,7 @@ done | |||
48 | 48 | ||
49 | create() | 49 | create() |
50 | { | 50 | { |
51 | TMPFILE=.~."$FILE" | 51 | TMPFILE=$(dirname "$FILE")/.~.$(basename "$FILE") |
52 | # [ ! -e "$FILE" ] || die "refusing to overwrite '$FILE'" | 52 | # [ ! -e "$FILE" ] || die "refusing to overwrite '$FILE'" |
53 | # [ ! -e "$TMPFILE" ] || die "refusing to overwrite '.~.$FILE'" | 53 | # [ ! -e "$TMPFILE" ] || die "refusing to overwrite '.~.$FILE'" |
54 | rm -f "$TMPFILE" | 54 | rm -f "$TMPFILE" |