X-Git-Url: https://git.saurik.com/cydia.git/blobdiff_plain/728dbf6c5b024b3126fae8a6dc46e4c3eb499c8e..30d83bfe3de9b01355cfb1500ed5c24c3039e03f:/Library/move.sh diff --git a/Library/move.sh b/Library/move.sh index f264dcdd..0b9e09d2 100755 --- a/Library/move.sh +++ b/Library/move.sh @@ -14,7 +14,7 @@ function mv_() { src=$1 mkdir -p /var/stash - dst=$(mktemp -d /var/stash/$(basename "${dir}").XXXXXX) + dst=$(mktemp -d /var/stash/$(basename "${src}").XXXXXX) if [[ -e ${src} ]]; then chmod --reference="${src}" "${dst}"