You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Senaka Fernando (JIRA)" <qp...@incubator.apache.org> on 2008/05/26 19:31:59 UTC

[jira] Issue Comment Edited: (QPID-1027) verify script is sensitive to shell in use

    [ https://issues.apache.org/jira/browse/QPID-1027?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12599882#action_12599882 ] 

senakafdo edited comment on QPID-1027 at 5/26/08 10:31 AM:
-----------------------------------------------------------------

Hi Alan,

I'm getting this issue on Ubuntu 7.10, which is a debian variant OS. I don't think that asking someone to modify /bin/sh should be the correct approach.

What is happening is that the code within the script is sensitive to the type of shell in use.

There can be such scripts that behave in different shells in different ways based on !/bin/SHELL found in the top of the script. The link, I gave in the initial comment explains this well.

Regards,
Senaka

      was (Author: senakafdo):
    Hi Alan,

I'm getting this issue on Ubuntu 7.10, which is a debian variant OS. I don't think that asking someone to modify /bin/sh should be the correct approach.

What is happening is that the code within the script is sensitive to the type of shell in use.

Regards,
Senaka
  
> verify script is sensitive to shell in use
> ------------------------------------------
>
>                 Key: QPID-1027
>                 URL: https://issues.apache.org/jira/browse/QPID-1027
>             Project: Qpid
>          Issue Type: Bug
>          Components: Qpid Examples
>            Reporter: Senaka Fernando
>         Attachments: verify.patch.txt, verify_patch_java.patch.txt
>
>
> verify (found in C++ examples) script is sensitive to the shell in use. And, the fix incorporated in the attached patch that will specifically revert the script to use the type of shell in which it is being run. I was inspired by [1], which better describes the problem of scripts that are sensitive to the type of shell.
> [1] http://forum.java.sun.com/thread.jspa?messageID=9948827&tstart=0
> Regards,
> Senaka

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