X-Git-Url: https://git.saurik.com/cydia.git/blobdiff_plain/bd150f541dd0f3000aed7fbd16967980fb8e5123..0ca262bb9f944ea517b874260aa26a56fad4b599:/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)