commit:     8d4a9dd58efa5da36c7bd6a6f655dda799ca0115
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 27 06:40:24 2022 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Mon Jun 27 06:40:24 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d4a9dd5

dev-tcltk/blt: fix globs expansion

Closes: https://bugs.gentoo.org/839219
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 dev-tcltk/blt/blt-2.5.3-r1.ebuild | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/dev-tcltk/blt/blt-2.5.3-r1.ebuild 
b/dev-tcltk/blt/blt-2.5.3-r1.ebuild
index eca6138d56f8..3332aa195afb 100644
--- a/dev-tcltk/blt/blt-2.5.3-r1.ebuild
+++ b/dev-tcltk/blt/blt-2.5.3-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -122,9 +122,11 @@ src_install() {
        dodoc NEWS PROBLEMS README
        docinto html
        dodoc html/*.html
-       for f in `ls "${ED}"/usr/share/man/mann` ; do
-               mv "${ED}"/usr/share/man/mann/${f} 
"${ED}"/usr/share/man/mann/${f/.n/.nblt} || die
+       pushd "${ED}"/usr/share/man/mann
+       for f in * ; do
+               mv ${f} ${f/.n/.nblt} || die
        done
+       popd
 
        # fix for linking against shared lib with -lBLT or -lBLTlite
        dosym libBLT${SHVER}$(get_libname) 
/usr/$(get_libdir)/libBLT$(get_libname)

Reply via email to