mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-01-11 22:30:44 +01:00
[PR #14] [CLOSED] Add sed as a parameter variable in order to be able to specify the sed version that must be used. #661
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/dehydrated-io/dehydrated/pull/14
Author: @M-M-M-M
Created: 12/6/2015
Status: ❌ Closed
Base:
master← Head:sed-parameter📝 Commits (1)
edf46fdAdd sed as a parameter variable in order to be able to specify the sed version that must be used.📊 Changes
2 files changed (+10 additions, -5 deletions)
View changed files
📝
config.sh.example(+4 -0)📝
letsencrypt.sh(+6 -5)📄 Description
Add sed as a parameter variable in order to be able to specify the sed version that must be used.
The goal is to be able to specify another sed program as the one to be used must be the GNU sed (-r parameter is used).
For instance default sed program on OS X is not supporting this parameter and launching lets encrypt.sh is displaying following error:
sed: illegal option -- r
usage: sed script [-Ealn] [-i extension] [file ...]
sed [-Ealn] [-i extension] [-e script] ... [-f script_file] ... [file ...]
GNU sed can be installed from macport and its name is gsed.
So a simple SED=gsed in config.sh file is resolving this issue.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.