summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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}"