Skip to content

BourneShell results in error when /bin/sh is symlink'd to bash #14

@ctubbsii

Description

@ctubbsii

When /bin/sh is symlink'd to bash (which it frequently is), the execution of the command results in an error:

/bin/sh: scl: line 1: syntax error: unexpected end of file
/bin/sh: error importing function definition for `BASH_FUNC_scl'

This is due to a missing semicolon in the command line. This is required by bash when executing a function as a one-liner. See http://tldp.org/LDP/abs/html/functions.html

(See related mojohaus/maven-native/issues/3)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions