summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz (arab, vxp) <lucio@lucioillanes.de>2017-12-06 18:24:44 +0000
committerLucio Andrés Illanes Albornoz (arab, vxp) <lucio@lucioillanes.de>2017-12-06 18:24:44 +0000
commit71b9ce3bd48165d2c9c2e0c272bc44096aa41678 (patch)
tree0548eb503711f40e09bc153e19ee3f914e638f8b
parent8c71923174c4e5851d150b806250bc54cef084e8 (diff)
downloadmidipix_build-71b9ce3bd48165d2c9c2e0c272bc44096aa41678.tar.bz2
midipix_build-71b9ce3bd48165d2c9c2e0c272bc44096aa41678.tar.xz
subr/pkg_install.subr, vars/dist_{etc,minipix_dist}.vars: explicitly pass --overwrite to tar(1).
-rw-r--r--subr/pkg_install.subr2
-rw-r--r--vars/dist_etc.vars2
-rw-r--r--vars/dist_minipix_dist.vars2
3 files changed, 3 insertions, 3 deletions
diff --git a/subr/pkg_install.subr b/subr/pkg_install.subr
index 0d74ecf8..84eda480 100644
--- a/subr/pkg_install.subr
+++ b/subr/pkg_install.subr
@@ -5,7 +5,7 @@
pkg_install() {
ex_rtl_fileop mkdir "${PKG_PREFIX}";
tar -C "${PKG_DESTDIR}" -cpf - . |\
- tar -C "${PKG_PREFIX}" -xpf -;
+ tar -C "${PKG_PREFIX}" --overwrite -xpf -;
};
# vim:filetype=sh
diff --git a/vars/dist_etc.vars b/vars/dist_etc.vars
index 6ed6f80a..6a4268b5 100644
--- a/vars/dist_etc.vars
+++ b/vars/dist_etc.vars
@@ -5,7 +5,7 @@
pkg_dist_etc_all() {
tar -C "${MIDIPIX_BUILD_PWD}/etc" -cpf - \
midipix.sh README midipix_shortcut.vbs |\
- tar -C "${PREFIX}" -xpf -;
+ tar -C "${PREFIX}" --overwrite -xpf -;
chmod +x "${PREFIX}/midipix.sh";
};
diff --git a/vars/dist_minipix_dist.vars b/vars/dist_minipix_dist.vars
index 8cb8d555..936eabb5 100644
--- a/vars/dist_minipix_dist.vars
+++ b/vars/dist_minipix_dist.vars
@@ -24,7 +24,7 @@ pkg_dist_minipix_dist_all() {
"${_dist_pfx}/share/terminfo/${_term_letter}";
done;
tar -C "${PREFIX_NATIVE}/share" -cpf - terminfo |\
- tar -C "${_dist_pfx}/bin" -xpf -;
+ tar -C "${_dist_pfx}/bin" --overwrite -xpf -;
};
# vim:filetype=sh