diff options
| author | Kartik Naik <kartik@bugqore.com> | 2026-09-04 23:01:06 +0530 |
|---|---|---|
| committer | Kartik Naik <kartik@bugqore.com> | 2026-09-04 23:01:06 +0530 |
| commit | 7dc8b8db25368a5f65ce46b2a67e40cb7a38f8e4 (patch) | |
| tree | 2e71dd17580f2001a3e1d233113cff045ffc997c | |
| parent | d63a1f105815c3fe4ffd954443541bff5259cedf (diff) | |
| download | portable-7dc8b8db25368a5f65ce46b2a67e40cb7a38f8e4.tar.gz portable-7dc8b8db25368a5f65ce46b2a67e40cb7a38f8e4.tar.bz2 portable-7dc8b8db25368a5f65ce46b2a67e40cb7a38f8e4.zip | |
fix overwrite guard in the openssldir install hook
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FF1dHqnUEhmE44ucDtFmB2
| -rw-r--r-- | Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index eca5a27..a04d070 100644 --- a/Makefile.am +++ b/Makefile.am | |||
| @@ -40,7 +40,7 @@ install-exec-hook: | |||
| 40 | fi; \ | 40 | fi; \ |
| 41 | mkdir -p "$$OPENSSLDIR/certs"; \ | 41 | mkdir -p "$$OPENSSLDIR/certs"; \ |
| 42 | for i in cert.pem openssl.cnf x509v3.cnf; do \ | 42 | for i in cert.pem openssl.cnf x509v3.cnf; do \ |
| 43 | if [ ! -f "$$OPENSSLDIR/$i" ]; then \ | 43 | if [ ! -f "$$OPENSSLDIR/$$i" ]; then \ |
| 44 | $(INSTALL) -m 644 "$(srcdir)/$$i" "$$OPENSSLDIR/$$i"; \ | 44 | $(INSTALL) -m 644 "$(srcdir)/$$i" "$$OPENSSLDIR/$$i"; \ |
| 45 | else \ | 45 | else \ |
| 46 | echo " $$OPENSSLDIR/$$i already exists, install will not overwrite"; \ | 46 | echo " $$OPENSSLDIR/$$i already exists, install will not overwrite"; \ |
