Change some calls from grep -o to sed. These changes have been tested on SmartOS in the GZ, SmartOS in a zone with pkgsrc, Mac OS X and Linux (Ubuntu 14.04).
This allows letsencrypt.sh to be used from the global zone on SmartOS without requiring bootstrapping pkgsrc or installing additional tools.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
## 📋 Pull Request Information
**Original PR:** https://github.com/dehydrated-io/dehydrated/pull/165
**Author:** [@bahamat](https://github.com/bahamat)
**Created:** 3/9/2016
**Status:** ✅ Merged
**Merged:** 3/22/2016
**Merged by:** [@lukas2511](https://github.com/lukas2511)
**Base:** `master` ← **Head:** `portability`
---
### 📝 Commits (1)
- [`4b8883b`](https://github.com/dehydrated-io/dehydrated/commit/4b8883b47afb80a04bcd2758641176d3d736578e) Use of 'grep -o' doesn't work on SunOS (fixes #164)
### 📊 Changes
**1 file changed** (+5 additions, -4 deletions)
<details>
<summary>View changed files</summary>
📝 `letsencrypt.sh` (+5 -4)
</details>
### 📄 Description
Fixes #164.
Change some calls from `grep -o` to `sed`. These changes have been tested on SmartOS in the GZ, SmartOS in a zone with pkgsrc, Mac OS X and Linux (Ubuntu 14.04).
This allows `letsencrypt.sh` to be used from the global zone on SmartOS without requiring bootstrapping pkgsrc or installing additional tools.
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/dehydrated-io/dehydrated/pull/165
Author: @bahamat
Created: 3/9/2016
Status: ✅ Merged
Merged: 3/22/2016
Merged by: @lukas2511
Base:
master← Head:portability📝 Commits (1)
4b8883bUse of 'grep -o' doesn't work on SunOS (fixes #164)📊 Changes
1 file changed (+5 additions, -4 deletions)
View changed files
📝
letsencrypt.sh(+5 -4)📄 Description
Fixes #164.
Change some calls from
grep -otosed. These changes have been tested on SmartOS in the GZ, SmartOS in a zone with pkgsrc, Mac OS X and Linux (Ubuntu 14.04).This allows
letsencrypt.shto be used from the global zone on SmartOS without requiring bootstrapping pkgsrc or installing additional tools.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.