Jonathan Davis wrote:
I'm currently working on an SVN build of multilib x86_64 CLFS. It uses
findutils 4.2.28 while 1.0.0 uses findutils 4.2.27.  I'm using the
package user package management method and one of the helper scripts
isn't working now. My first guess is that it's a change in findutils
because the "find" command is on the line that it's complaining about.
Basically, I'm getting an error of mismatched delimeters:

/usr/lib/pkgusr/install: line 108: unexpected EOF while looking for matching ``'
/usr/lib/pkgusr/install: line 128: syntax error: unexpected end of file

Line 108 is:

if [ `find "$a" -printf \%u` = $manpagesowner ]; then

It's certainly possible that the error has nothing to do with
findutils, but that looks to me to be the most likely source of the
problem since the scripts worked fine with findutils 4.2.27.  so, I
ask if anyone has any clue of syntax changes in findutils 4.2.28?

I'm of course going to continue to mess around with it and dig for
more clues, but at the moment, I can't figure out what to do to fix
the problem.  My best guess is a findutils issue, but unfortunately
I'm not exactly a scripts expert, so maybe I'm missing something
obvious.  Any help would be appreciated.

- Jonathan Davis


P.S.  Just in case someone actually wants to look at the entire 128
line script, I've attached it.
------------------------------------------------------------------------

_______________________________________________
Clfs-support mailing list
[email protected]
http://lists.cross-lfs.org/cgi-bin/mailman/listinfo/clfs-support
Johnathan,
This is probably an issue with Bash 3.2, we are starting to get reports of errors across the board.

http://lists.gnu.org/archive/html/bug-bash/2006-10/msg00046.html
_______________________________________________
Clfs-support mailing list
[email protected]
http://lists.cross-lfs.org/cgi-bin/mailman/listinfo/clfs-support

Reply via email to