summaryrefslogtreecommitdiff
path: root/Library/move.sh
diff options
context:
space:
mode:
Diffstat (limited to 'Library/move.sh')
-rwxr-xr-xLibrary/move.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/move.sh b/Library/move.sh
index 635c153..abfe2ed 100755
--- a/Library/move.sh
+++ b/Library/move.sh
@@ -42,7 +42,7 @@ function mv_() {
}
function shift_() {
- dir=$1
+ dir=${1%/}
if [[ -d ${dir} && ! -h ${dir} ]]; then
used=$(du -bs "${dir}")