Re: aclocal/dirlist

Stefan Fiedler <[email protected]>
Newsgroups gmane.linux.distributions.rock.devel
Message-ID <[email protected]>
Hi,

Am Monday 17 October 2005 10:27 schrieb Stepan Kasal:
> Hello,
>
> On Sat, Oct 15, 2005 at 04:35:01AM +0200, Stefan Fiedler wrote:
> >
...
> > Afaics files are listed without a leading slash.
>
> AFAICS, they are listed with the leading slash.
>
> /sbin/postinstall.sh, alias package/base/sysfiles/sbin_postinstall.sh
> contains:
>
> all_installed() {
>         while read dummy M; do
>                 [ -e "/$M" ] && echo "/$M"
> 	done < <(cat ...|grep "$1") | sort -u
> }
>

You're right. I overlooked this.

> And I think it's better to use the ^ at the beginning, to make sure that
>
> 	/usr/share/doc/autobook/example/opt/hello/share/aclocal/
>
> doesn't add /opt/hello/share/aclocal/ to the dirlist file.
>

Irritatingly it didn't work as expected the first time I tried. So I used a 
grep pattern starting with ': '. Now done in 
https://www.rocklinux.net/submaster/smadm.cgi?i=2005101713421324232


> Thank you again for all your work on this.
>
> Stepan

No problem,

	Stefan Fiedler
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.