summaryrefslogtreecommitdiff
path: root/Library/move.sh
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2008-07-20 13:52:22 +0000
committerJay Freeman (saurik) <saurik@saurik.com>2010-09-30 07:08:11 +0000
commitbd150f541dd0f3000aed7fbd16967980fb8e5123 (patch)
tree9555e5b92728966af14fadc8979c9727204aa7f2 /Library/move.sh
parentd4b6208d03a2b0521c9770ed931115bc88db1eb6 (diff)
Checkpointing a bad Cydia build (why not?).
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 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}"