summaryrefslogtreecommitdiffhomepage
path: root/vars/pkgconf_host.vars
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de>2017-02-06 01:20:04 +0100
committerLucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de>2017-02-06 01:20:04 +0100
commit05e6185f7740f3acef556ba39cff95139bd7130d (patch)
tree13d958e045edb28dab3cb225bc244c35acb27db1 /vars/pkgconf_host.vars
parent36ab9378686ad6f3783f26696615e33e170e235f (diff)
downloadmidipix_build-05e6185f7740f3acef556ba39cff95139bd7130d.tar.bz2
midipix_build-05e6185f7740f3acef556ba39cff95139bd7130d.tar.xz
build.sh, {subr,vars}/*: general cleanup.
Diffstat (limited to 'vars/pkgconf_host.vars')
-rw-r--r--vars/pkgconf_host.vars12
1 files changed, 6 insertions, 6 deletions
diff --git a/vars/pkgconf_host.vars b/vars/pkgconf_host.vars
index ee07fc70..7dc06309 100644
--- a/vars/pkgconf_host.vars
+++ b/vars/pkgconf_host.vars
@@ -3,17 +3,17 @@
#
pkg_pkgconf_host_install_post() {
- if [ -e ${PREFIX}/bin/${TARGET}-pkg-config ]; then
- build_fileop rm ${PREFIX}/bin/${TARGET}-pkg-config;
+ if [ -e "${PREFIX}/bin/${TARGET}-pkg-config" ]; then
+ build_fileop rm "${PREFIX}/bin/${TARGET}-pkg-config";
fi;
- cat > ${PREFIX}/bin/${TARGET}-pkg-config <<EOF
+ cat > "${PREFIX}/bin/${TARGET}-pkg-config" <<EOF
#!/bin/sh
if [ -z "\${PREFIX_NATIVE}" ]; then
- PREFIX_NATIVE=${PREFIX_NATIVE};
+ PREFIX_NATIVE="${PREFIX_NATIVE}";
fi;
-"\$(dirname "\${0}")"/pkgconf --define-variable=prefix=\${PREFIX_NATIVE%/}/ "\$@";
+"\$(dirname "\${0}")"/pkgconf --define-variable=prefix="\${PREFIX_NATIVE%/}/" "\${@}";
EOF
- chmod +x ${PREFIX}/bin/${TARGET}-pkg-config;
+ chmod +x "${PREFIX}/bin/${TARGET}-pkg-config";
};
# vim:filetype=sh