diff options
Diffstat (limited to '')
-rw-r--r-- | %HOME%/.bash_utils/file.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/%HOME%/.bash_utils/file.sh b/%HOME%/.bash_utils/file.sh index 0321833..6741067 100644 --- a/%HOME%/.bash_utils/file.sh +++ b/%HOME%/.bash_utils/file.sh @@ -27,7 +27,7 @@ swap_files() ( fi local tmp_path - tmp_path="$( mktemp "$( dirname "$path1" )/XXX" )" + tmp_path="$( mktemp -- "$( dirname -- "$path1" )/XXX" )" mv "$path1" "$tmp_path" mv "$path2" "$path1" |