summaryrefslogtreecommitdiff
path: root/Cydia.app
diff options
context:
space:
mode:
Diffstat (limited to 'Cydia.app')
-rwxr-xr-xCydia.app/Cydia3
-rwxr-xr-xCydia.app/Test8
2 files changed, 7 insertions, 4 deletions
diff --git a/Cydia.app/Cydia b/Cydia.app/Cydia
new file mode 100755
index 0000000..93bca91
--- /dev/null
+++ b/Cydia.app/Cydia
@@ -0,0 +1,3 @@
+#!/bin/bash
+Cydia=$(dirname "$0")
+"${Cydia}"/Cydia_ 2>>/tmp/cydia.log
diff --git a/Cydia.app/Test b/Cydia.app/Test
index ad2582e..18ca345 100755
--- a/Cydia.app/Test
+++ b/Cydia.app/Test
@@ -1,6 +1,6 @@
#!/bin/bash
set -e
-cd "$(dirname "$0")"
-scp -p saurik@carrier.saurik.com:menes/cydia/Cydia .
-chmod +s Cydia
-su -c ./Cydia mobile
+Cydia=$(dirname "$0")
+scp -p saurik@carrier.saurik.com:menes/cydia/Cydia "${Cydia}"/Cydia_
+chmod +s "${Cydia}"/Cydia_
+su -c "${Cydia}"/Cydia_ mobile