Blair Zajac wrote: []
/sw/bin/perl5.8* /usr/bin/pod2man --release=1.0.48 --center=RRDtool rrdtool.pod > rrdtool.1
/bin/sh: line 1: /sw/bin/perl5.8*: No such file or directory
This is a weird feature of bash globs: /sw/bin/perl5.8*, if non-existing, is not replaced by an empty list, as one would assume, but left as a string. Thus
for file in %p/bin/perl5.8* /usr/bin/perl5.8*; do [ -z "$PERLBIN" ] && PERLBIN="$file" done
returns PERLBIN=/sw/bin/perl5.8* which doesn't work.
Changing the line to
[ -z "$PERLBIN" ] && [ -x $file ] && PERLBIN="$file"
should work. Or run "shopt -s nullglob" first.
-- Martin
------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click _______________________________________________ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel
