[PR #109] [CLOSED] Make letsencrypt.sh zsh-compatible #718

Closed
opened 2025-12-29 01:28:38 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/dehydrated-io/dehydrated/pull/109
Author: @Sp1l
Created: 1/23/2016
Status: Closed

Base: masterHead: patch-1


📝 Commits (10+)

  • 478e916 Allow either bash or zsh
  • 27a9e9a Replace SCRIPTDIR bashism
  • d00f38b Fix Arithmetic error on string with zsh
  • 488daa5 Fix bash and zsh options
  • f4bd958 Quoting and standards
  • f8fe750 Don't quote on the exec
  • 79abbbc Main command is dgst not sha
  • 46704d9 Fix zsh word splitting
  • 7544e39 status is a reserved word in zsh
  • 9445709 Allow using a different openssl binary

📊 Changes

2 files changed (+39 additions, -11 deletions)

View changed files

📝 config.sh.example (+3 -0)
📝 letsencrypt.sh (+36 -11)

📄 Description

  • Allow zsh next to bash
  • Fix small compat issues
  • Allow using a different OpenSSL binary
  • openssl sha is SHA-0, use dgst command instead

🔄 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/109 **Author:** [@Sp1l](https://github.com/Sp1l) **Created:** 1/23/2016 **Status:** ❌ Closed **Base:** `master` ← **Head:** `patch-1` --- ### 📝 Commits (10+) - [`478e916`](https://github.com/dehydrated-io/dehydrated/commit/478e9163bd41add95cc862331d2a354872f46226) Allow either bash or zsh - [`27a9e9a`](https://github.com/dehydrated-io/dehydrated/commit/27a9e9abbacffdf2a51e4b0bd25ac684f146f8e9) Replace SCRIPTDIR bashism - [`d00f38b`](https://github.com/dehydrated-io/dehydrated/commit/d00f38bcda6c9a2fab923d0e3a038003b306c61b) Fix Arithmetic error on string with zsh - [`488daa5`](https://github.com/dehydrated-io/dehydrated/commit/488daa566593a4ea859c557d3e1b562e6b8965e2) Fix bash and zsh options - [`f4bd958`](https://github.com/dehydrated-io/dehydrated/commit/f4bd95860239970d47211aa83050850138ed797e) Quoting and standards - [`f8fe750`](https://github.com/dehydrated-io/dehydrated/commit/f8fe750c396ac52b658c7f6b0d856b013ae13bf0) Don't quote on the exec - [`79abbbc`](https://github.com/dehydrated-io/dehydrated/commit/79abbbc2a23ec36d417be4c39a691daaf90aeb33) Main command is dgst not sha - [`46704d9`](https://github.com/dehydrated-io/dehydrated/commit/46704d99fe6c02e0cdbe305cc0dfcbd4d2c15840) Fix zsh word splitting - [`7544e39`](https://github.com/dehydrated-io/dehydrated/commit/7544e393a219242eca0a8f267eea9f416085c28b) status is a reserved word in zsh - [`9445709`](https://github.com/dehydrated-io/dehydrated/commit/94457094e1bbd5e4e253a23edefef677d02b898d) Allow using a different openssl binary ### 📊 Changes **2 files changed** (+39 additions, -11 deletions) <details> <summary>View changed files</summary> 📝 `config.sh.example` (+3 -0) 📝 `letsencrypt.sh` (+36 -11) </details> ### 📄 Description - Allow zsh next to bash - Fix small compat issues - Allow using a different OpenSSL binary - openssl sha is SHA-0, use dgst command instead --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 01:28:38 +01:00
adam closed this issue 2025-12-29 01:28:38 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/dehydrated#718