GitHub user thushara35 opened a pull request:
https://github.com/apache/stratos/pull/53
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 stratos2v
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/stratos/pull/53.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 #53
----
commit 4ea4ce3e82f67a4c85dcbca1318cf1e17add4c8b
Author: Thushara Kasun Ranawaka <[email protected]>
Date: 2014-09-23T10:17:59Z
adding changes to gsed 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.
---