[
https://issues.apache.org/jira/browse/MAHOUT-669?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13020151#comment-13020151
]
Lance Norskog commented on MAHOUT-669:
--------------------------------------
One "standard" is
#!/usr/bin/env bash
This walks through the incoming path and finds the first 'bash' program.
[http://en.wikipedia.org/wiki/Shebang_(Unix)#Portability]
But, Amazon Map/Reduce does not support it, even though it's Posix:
[https://forums.aws.amazon.com/thread.jspa?threadID=60007]
> Scripts should specify bash instead of /bin/sh
> ----------------------------------------------
>
> Key: MAHOUT-669
> URL: https://issues.apache.org/jira/browse/MAHOUT-669
> Project: Mahout
> Issue Type: Bug
> Affects Versions: 0.5
> Reporter: Ted Dunning
> Fix For: 0.5
>
> Attachments: mahuot-669.patch
>
>
> Ken Williams said:
> {quote}
> Just out of interest, I also reckon your 'build-cluster-syntheticcontrol.sh'
> script should be a bash script (#!/bin/bash) rather than a standard
> shell (#!/bin/sh) script.
> $ trunk/examples/bin/build-cluster-syntheticcontrol.sh
> trunk/examples/bin/build-cluster-syntheticcontrol.sh: 28: Syntax error: "("
> unexpected (expecting "fi")
> $
> {quote}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira