On 11/27/06, Dieter <[EMAIL PROTECTED]> wrote:
Quake 3 benchmark?  I thought Quake was a game, and the first gen
OGP products weren't for gaming, so why all the effort at benchmarking?

> The last few errors I see look like this:
>
> Error: no such file "-r"
> Error: no such file "-n"
> Error: no such file "Verifying"
> Error: no such file "archive"
> Error: no such file "integrity..."
>
> I've tracked that down to this block of code in the script:
>
> echo=echo; [ -x /usr/ucb/echo ] && echo=/usr/ucb/echo
> if type print > /dev/null 2>&1; then echo="print -r "; fi
> mkdir $tmpdir || {
>         $echo 'Cannot create target directory' $tmpdir >&2
>         $echo 'you should perhaps try option -target OtherDirectory' >&2
>                 eval $finish; exit 1;
> }
> $echo -n Verifying archive integrity...
>
> So, it defines a new echo, and when it tries to use it, it doesn't
> work as expected.
>
> Of course, when I hack the script, I get a checksum error.

So hack print instead.

Your shell is finding a print command, but the print command doesn't
understand -r.

What shell are you running?
What does "type print" do on your system?

Looks like print is a builtin for ksh and zsh, but not sh, ash, or bash.
The print in ksh and zsh claim to understand -r.  Looks like they want
to avoid \ expansion.

If print isn't a shell builtin for you, but is an executable, try:

mv print print_hold

run benchmark

mv print_hold print
_______________________________________________
Open-graphics mailing list
[email protected]
http://lists.duskglow.com/mailman/listinfo/open-graphics
List service provided by Duskglow Consulting, LLC (www.duskglow.com)

Seem to recall that Ubuntu links /bin/sh to dash, which breaks a whole
buncha things.

Wil
_______________________________________________
Open-graphics mailing list
[email protected]
http://lists.duskglow.com/mailman/listinfo/open-graphics
List service provided by Duskglow Consulting, LLC (www.duskglow.com)

Reply via email to