diff options
author | William Hubbs <williamh@gentoo.org> | 2020-06-20 23:37:33 +0000 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2020-08-20 09:46:58 -0500 |
commit | aca04a15a282ceed47c01eceed3e115594fd14fb (patch) | |
tree | 89f0bb5e8f13fb9d0d8e5157d7d9b12f631a0bc6 /sys-apps/baselayout | |
parent | mate.eclass: Fix quoting (diff) | |
download | gentoo-aca04a15a282ceed47c01eceed3e115594fd14fb.tar.gz gentoo-aca04a15a282ceed47c01eceed3e115594fd14fb.tar.bz2 gentoo-aca04a15a282ceed47c01eceed3e115594fd14fb.zip |
sys-apps/baselayout: fix quoting and add a missing die call
Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'sys-apps/baselayout')
-rw-r--r-- | sys-apps/baselayout/baselayout-2.7.ebuild | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys-apps/baselayout/baselayout-2.7.ebuild b/sys-apps/baselayout/baselayout-2.7.ebuild index 104cf105212f..ee4f298e8409 100644 --- a/sys-apps/baselayout/baselayout-2.7.ebuild +++ b/sys-apps/baselayout/baselayout-2.7.ebuild @@ -33,7 +33,7 @@ multilib_layout() { if [[ -z "${SYMLINK_LIB}" || ${SYMLINK_LIB} = no ]] ; then prefix_lst=( "${EROOT}"{,usr/,usr/local/} ) - for prefix in ${prefix_lst[@]}; do + for prefix in "${prefix_lst[@]}"; do for libdir in ${libdirs}; do dir="${prefix}${libdir}" if [[ -e "${dir}" ]]; then @@ -153,7 +153,8 @@ multilib_layout() { if ! use split-usr ; then for libdir in ${libdirs}; do if [[ ! -e "${EROOT}${libdir}" ]]; then - ln -s usr/"${libdir}" "${EROOT}${libdir}" + ln -s usr/"${libdir}" "${EROOT}${libdir}" || + die " Unable to make ${EROOT}${libdir} symlink" fi done fi |