GitHub user thushara35 opened a pull request:

    https://github.com/apache/stratos/pull/54

    Adding changes related to sed -i for mac osx

    This change is mainly due to incompatibility issues occurred in stratos 
when user run it on a mac os x.
    A work around solution is to use gsed instead of sed.
    How to install gsed in mac osx:
       i. Installed homebrew(http://brew.sh/)
        $ ruby -e "$(curl -fsSL 
https://raw.githubusercontent.com/Homebrew/install/master/install)"
        ii. Installed gnu-sed
        $ brew install gnu-sed
    
    changes are made in:
    stratos / tools / stratos-installer /
      demo.sh, ec2.sh,openstack.sh, setup.sh and vcloud.sh
    stratos / tools / stratos-installer / scripts /
      add_entry_zone_file.sh and remove_entry_zone_file.sh 
    
    Other than that this change also include syntax errors which can be found 
in setup.sh line 605:
    -chown -R $host_user.$host_user $log_path
    +chown -R $host_user:$host_user $log_path
    This code change is done by @Prasanna Dangalla
    
    JIRA - https://issues.apache.org/jira/browse/STRATOS-816

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/thushara35/stratos master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/stratos/pull/54.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #54
    
----
commit e36f0d3f5392b6dea3d170cd87451d83c0c5b049
Author: Thushara Kasun Ranawaka <[email protected]>
Date:   2014-09-23T12:44:32Z

    adding changes to gsed -i for mac osx

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to