On Tue, Dec 06, 2005 at 05:25:00PM +0200, Juhapekka Tolvanen wrote: > > Package: eclipse-platform-common > Version: 3.1.1-6 > Severity: normal > > [EMAIL PROTECTED]:/home/juhtolv % eclipse > zsh: correct 'eclipse' to '.eclipse' [nyae]? n > /usr/bin/eclipse: line 77: syntax error near unexpected token `<' > /usr/bin/eclipse: line 77: ` done < <(cat /etc/eclipse/java_home | grep -v > '^#' | grep -v '^$')' > zsh: 11541 exit 2 eclipse > [EMAIL PROTECTED]:/home/juhtolv % rm -rf .eclipse > [EMAIL PROTECTED]:/home/juhtolv % eclipse > /usr/bin/eclipse: line 77: syntax error near unexpected token `<' > /usr/bin/eclipse: line 77: ` done < <(cat /etc/eclipse/java_home | grep -v > '^#' | grep -v '^$')' > zsh: 11549 exit 2 eclipse > [EMAIL PROTECTED]:/home/juhtolv % unset POSIXLY_CORRECT > [EMAIL PROTECTED]:/home/juhtolv % unset POSIX_ME_HARDER > [EMAIL PROTECTED]:/home/juhtolv % eclipse > zsh: correct 'eclipse' to '.eclipse' [nyae]? n > searching for compatible vm... > testing /usr/lib/jvm/java-gcj...found
This script does not claim to be POSIX compliant. It uses /bin/bash as shell explicitely so it is legal to use bash extensions. I wonder why you run it with zsh when executing it. Have you edited the script and use zsh now? I agree that we should make this script POSIX compliant and run it with /bin/sh. That should be a goal. After installing zsh on my mashing and running the script with it I cannot reproduce the bug. Can you write a patch that fixes the problem for you? Or give more infos about your sustem? Is bash installed at all? Cheers, Michael -- Escape the Java Trap with GNU Classpath! http://www.gnu.org/philosophy/java-trap.html Join the community at http://planet.classpath.org/ _______________________________________________ pkg-java-maintainers mailing list pkg-java-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers