]> git.saurik.com Git - cydia.git/blobdiff - Library/move.sh
Stash folders were supposed to be named, added support for Pwnage 2.0, bootup sysctl...
[cydia.git] / Library / move.sh
index f264dcdd5096a81ed36a00654af20c5156327a8b..0b9e09d2748eca60202ceea473aee1e327cc90ce 100755 (executable)
@@ -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}"