summaryrefslogtreecommitdiffhomepage
path: root/subr/pkg_extract.subr
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de>2017-02-03 18:07:44 +0100
committerLucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de>2017-02-03 18:28:30 +0100
commitbd97b660147609b31020e06ecf552d8473dfb0d3 (patch)
tree41cc36e897e5cc64966c8910995b87e05641817f /subr/pkg_extract.subr
parentd1adc7c60425c2b34039f713881c3cdf75534ef1 (diff)
downloadmidipix_build-bd97b660147609b31020e06ecf552d8473dfb0d3.tar.bz2
midipix_build-bd97b660147609b31020e06ecf552d8473dfb0d3.tar.xz
build.sh, etc/build.usage, {subr,vars}/*: general cleanup.
Diffstat (limited to 'subr/pkg_extract.subr')
-rw-r--r--subr/pkg_extract.subr4
1 files changed, 2 insertions, 2 deletions
diff --git a/subr/pkg_extract.subr b/subr/pkg_extract.subr
index 2b7d4fd4..f63cefa0 100644
--- a/subr/pkg_extract.subr
+++ b/subr/pkg_extract.subr
@@ -6,9 +6,9 @@
pkg_extract() {
if [ -n "${PKG_URL}" ]\
&& [ "${PKG_URL_TYPE:-wget}" = wget ]; then
- secure_rm ${PKG_SUBDIR};
+ build_fileop rm ${PKG_SUBDIR};
if [ ${PKG_SUBDIR_CREATE:-0} -eq 1 ]; then
- insecure_mkdir ${PKG_SUBDIR};
+ build_fileop mkdir ${PKG_SUBDIR};
fi;
if [ "${PKG_FNAME##*.tar.}" = "bz2" ]; then
bunzip2 -d < ${DLCACHEDIR}/${PKG_FNAME} | tar ${PKG_SUBDIR_CREATE:+-C ${PKG_SUBDIR}} -xf -;