diff options
Diffstat (limited to 'Library/move.sh')
-rwxr-xr-x | Library/move.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/move.sh b/Library/move.sh index 3cbe799..635c153 100755 --- a/Library/move.sh +++ b/Library/move.sh @@ -21,7 +21,7 @@ function mv_() { src=$1 mkdir -p /var/stash - dst=$(mktemp -d /var/stash/$(basename "${src}").XXXXXX) + dst=$(mktemp -d /var/stash/"${src##*/}".XXXXXX) if [[ -e ${src} ]]; then chmod --reference="${src}" "${dst}" |