summaryrefslogtreecommitdiff
path: root/Library
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
parentd4b6208d03a2b0521c9770ed931115bc88db1eb6 (diff)
Checkpointing a bad Cydia build (why not?).
Diffstat (limited to 'Library')
-rwxr-xr-xLibrary/move.sh2
-rwxr-xr-xLibrary/space.sh2
-rwxr-xr-xLibrary/startup1
3 files changed, 2 insertions, 3 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}"
diff --git a/Library/space.sh b/Library/space.sh
index 953ae57..3be1f0d 100755
--- a/Library/space.sh
+++ b/Library/space.sh
@@ -8,5 +8,5 @@ for dir in \
/System/Library/TextInput \
/usr/share
do
- . /usr/libexec/cydia/move.sh -v "${dir}"
+ . /usr/libexec/cydia/move.sh "$@" "${dir}"
done
diff --git a/Library/startup b/Library/startup
index 6efc471..7ee6cd3 100755
--- a/Library/startup
+++ b/Library/startup
@@ -1,7 +1,6 @@
#!/bin/bash
export PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin
/usr/libexec/cydia/firmware.sh
-/usr/libexec/cydia/space.sh
debs=/var/root/Media/Cydia/AutoInstall/*.deb
dpkg -i ${debs}
rm -f ${debs}