summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Freeman <saurik@saurik.com>2008-02-25 10:36:07 +0000
committerJay Freeman <saurik@saurik.com>2008-02-25 10:36:07 +0000
commitef1e884f98c5a826ac36c4d6a24938f448c539df (patch)
tree62bbd81ddfdd7c6d5264d8ef415d262b83c2bf19
parent31487aa2ee9c1a1f1804ff760af5227f5fd78812 (diff)
Temporary construction needs to be done using God Mode, and cp -T doesn't handle symlinks correctly (so let's use tar).
git-svn-id: http://svn.telesphoreo.org/trunk@98 514c082c-b64e-11dc-b46d-3d985efe055d
-rwxr-xr-xmake.sh2
-rwxr-xr-xover/usr/libexec/cydia_/install.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/make.sh b/make.sh
index 95380b61c..2ec6845bc 100755
--- a/make.sh
+++ b/make.sh
@@ -148,7 +148,7 @@ function pkg:mkdir() {
cd "${PKG_WORK}"
. "${PKG_DATA}/make.sh"
-cp -Ta "${PKG_DEST}" "${PKG_ROOT}"
+tar -zcf- -C "${PKG_DEST}" . | tar -zxf- -C "${PKG_ROOT}"
function rmdir_() {
if [[ -d "$1" ]]; then
diff --git a/over/usr/libexec/cydia_/install.sh b/over/usr/libexec/cydia_/install.sh
index 0e5d92535..bce209557 100755
--- a/over/usr/libexec/cydia_/install.sh
+++ b/over/usr/libexec/cydia_/install.sh
@@ -27,7 +27,7 @@ do if [[ -d ${dir} && ! -h ${dir} ]]; then
new=/var/${base}
if [[ -e ${new} ]]; then
- new=$(mktemp -d cydia.XXXXXX)
+ new=$(godmode mktemp -d cydia.XXXXXX)
fi
godmode mv -T "${dir}" "${new}"