Skip to content

Commit ef8eb95

Browse files
committed
Really fix now
1 parent 2c2b79d commit ef8eb95

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.github/workflows/release.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ jobs:
4141
run: |
4242
sudo apt-get install -y libcurl4-openssl-dev
4343
sudo /usr/bin/ruby3.2 /usr/bin/gem install rack
44-
ls /etc
4544
- name: Build Binary
4645
run: make build
4746
- name: Upload release assets

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ NGINX_V := 1.26.2
44
LIBRE_V := 4.0.0
55
PASSENGER_V := 6.0.26
66
ROOT_DIR := $(dir $(realpath $(lastword $(MAKEFILE_LIST))))
7-
HOST_OS := $(shell if [ -f /etc/redhat-release ]; then echo fedora; else echo debian; fi)
7+
HOST_OS := $(shell if [ -f /etc/lsb-release ]; then echo debian; elif [ -f /etc/redhat-release ]; then echo fedora; else echo unknown; fi)
88
DOWNLOAD_V ?= "" # option for install with prebuilt GitHub version
99

1010
NGINX_PASSENGER_MODULES := --with-http_ssl_module --with-http_v2_module --with-http_realip_module --with-http_gzip_static_module --with-http_stub_status_module --with-http_addition_module --add-module='$(ROOT_DIR)passenger/src/nginx_module'
@@ -18,7 +18,7 @@ NGINX_TMP_DEBIAN_DIRS := /var/lib/nginx/{body,fastcgi,proxy,scgi,uwsgi}
1818
ifeq ($(HOST_OS),fedora)
1919
NGINX_CONFIG := $(NGINX_FEDORA_CONFIG)
2020
NGINX_TMP_DIRS := $(NGINX_TMP_FEDORA_DIRS)
21-
else ifeq ($(OS),debian)
21+
else ifeq ($(HOST_OS),debian)
2222
NGINX_CONFIG := $(NGINX_DEBIAN_CONFIG)
2323
NGINX_TMP_DIRS := $(NGINX_TMP_DEBIAN_DIRS)
2424
else

0 commit comments

Comments
 (0)