chukwa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gerrit Jansen van Vuuren (JIRA)" <>
Subject [jira] Updated: (CHUKWA-453) Shell scripts should use !/bin/bash not !/bin/sh
Date Fri, 12 Feb 2010 12:26:27 GMT


Gerrit Jansen van Vuuren updated CHUKWA-453:

    Attachment: CHUKWA-453.patch

The patch only modifies the sh files that have !/bin/sh and makes it !/bin/bash

I've noticed that some of the .sh files already had !/bin/bash and some of the helper scripts
like have !/usr/bin/env bash.

> Shell scripts should use !/bin/bash not !/bin/sh
> ------------------------------------------------
>                 Key: CHUKWA-453
>                 URL:
>             Project: Hadoop Chukwa
>          Issue Type: Bug
>    Affects Versions: 0.4.0
>            Reporter: Gerrit Jansen van Vuuren
>             Fix For: 0.4.0
>         Attachments: CHUKWA-453.patch
> Some of the scripts uses the function key word which is a feature in bash and not supported
in shell. 
> Running the for example gives bin/ 24: function: not found
> The script headers should be changes to !/bin/bash and then it works.
> I propose this be done for all of the sh scripts for consistency.
> I'll attach a patch today.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message