diff options
author | Lucio Andrés Illanes Albornoz (arab, vxp) <lucio@lucioillanes.de> | 2017-12-02 22:41:19 +0000 |
---|---|---|
committer | Lucio Andrés Illanes Albornoz (arab, vxp) <lucio@lucioillanes.de> | 2017-12-02 22:41:19 +0000 |
commit | 16c9cd223ae1809124a163d13e820f19e18e7edc (patch) | |
tree | 15b5cd04e2d0f3d5a2b2d0428b7fdbdca4211442 /subr | |
parent | 7a20cfe7e87ff99a425346df9256d47d60cb8503 (diff) | |
download | midipix_build-16c9cd223ae1809124a163d13e820f19e18e7edc.tar.bz2 midipix_build-16c9cd223ae1809124a163d13e820f19e18e7edc.tar.xz |
vars/vim.vars: copy config.cache into src/auto/.
subr/pkg_configure_autotools.subr: correctly output config.cache.
Diffstat (limited to 'subr')
-rw-r--r-- | subr/pkg_configure_autotools.subr | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/subr/pkg_configure_autotools.subr b/subr/pkg_configure_autotools.subr index e6445002..219b1719 100644 --- a/subr/pkg_configure_autotools.subr +++ b/subr/pkg_configure_autotools.subr @@ -38,9 +38,11 @@ pkg_configure_autotools() { -exec install -m 0700 "${MIDIPIX_BUILD_PWD}/etc/config.sub" {} \;; if [ "${PKG_BUILD_TYPE}" != host ]; then if [ -n "${PKG_CONFIG_CACHE}" ]; then - echo "${PKG_CONFIG_CACHE}" > "${PKG_BUILD_DIR}/config.cache"; + echo "${PKG_CONFIG_CACHE}" |\ + tr " " "\n" >> "${PKG_BUILD_DIR}/config.cache"; if [ -n "${PKG_CONFIG_CACHE_EXTRA}" ]; then - echo "${PKG_CONFIG_CACHE_EXTRA}" >> "${PKG_BUILD_DIR}/config.cache"; + echo "${PKG_CONFIG_CACHE_EXTRA}" |\ + tr " " "\n" >> "${PKG_BUILD_DIR}/config.cache"; fi; fi; sed -i"" "s,%PREFIX%,${PKG_PREFIX},g" "${PKG_BUILD_DIR}/config.cache"; |