X-Git-Url: https://git.saurik.com/cydia.git/blobdiff_plain/b26eb97d99ac58a8808ff75b29911e1521ea9b61..9050015e7807a1dd445e19a6e2537b0269a29ff0:/Library/move.sh diff --git a/Library/move.sh b/Library/move.sh index 635c1539..4a15ca71 100755 --- a/Library/move.sh +++ b/Library/move.sh @@ -42,10 +42,10 @@ function mv_() { } function shift_() { - dir=$1 + dir=${1%/} if [[ -d ${dir} && ! -h ${dir} ]]; then - used=$(du -bs "${dir}") + used=$(/usr/libexec/cydia/du -bs "${dir}") used=${used%%$'\t'*} free=$(df_ /var)