"#!/bin/sh" worked fine for me in the Macbook. I figured this issue when
executing in Ubuntu OS.

Yes Sajith, mentioning in the README is a good option for now.

On Wed, Jan 28, 2015 at 11:48 AM, Sajith Kariyawasam <[email protected]>
wrote:

> or else, we should mention in the docs / READE, to execute the samples as
> follows.. wdyt ?
>
>       /bin/bash deploy.sh
>
> [I was running the script with (./deploy.sh)]
>
>
>
> On Wed, Jan 28, 2015 at 11:44 AM, Sajith Kariyawasam <[email protected]>
> wrote:
>
>> Hi Devs,
>>
>> I was trying to execute
>>
>> stratos/samples/applications/complex-app/iaases/mock sample, and found
>> that "pushd" command has been used.
>>
>> It gives me an error saying "deploy.sh: 12: deploy.sh: pushd: not found"
>>
>> As I read, pushd like commands are in "bash" therefore deploy.sh script's
>> header need to be updated to "#!/bin/bash". Also, it seems all the sample
>> scripts have #!/bin/sh, which may not execute properly.
>>
>> Haven't anyone got this error yet?
>>
>>
>>
>> --
>> *Sajith Kariyawasam*
>>
>> *Committer and PMC member, Apache Stratos,WSO2 Inc., http://wso2.com
>> <http://wso2.com>AMIE (SL)Mobile: +94772269575*
>>
>
>
>
> --
> *Sajith Kariyawasam*
>
> *Committer and PMC member, Apache Stratos,WSO2 Inc., http://wso2.com
> <http://wso2.com>AMIE (SL)Mobile: +94772269575*
>



-- 
*Vishanth Balasubramaniam*
Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

mobile: *+94771737718*
about me: *http://about.me/vishanth <http://about.me/vishanth>*

Reply via email to