diff options
author | Jay Freeman <saurik@saurik.com> | 2008-02-25 10:36:07 +0000 |
---|---|---|
committer | Jay Freeman <saurik@saurik.com> | 2008-02-25 10:36:07 +0000 |
commit | ef1e884f98c5a826ac36c4d6a24938f448c539df (patch) | |
tree | 62bbd81ddfdd7c6d5264d8ef415d262b83c2bf19 | |
parent | 31487aa2ee9c1a1f1804ff760af5227f5fd78812 (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-x | make.sh | 2 | ||||
-rwxr-xr-x | over/usr/libexec/cydia_/install.sh | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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}" |