Skip to content

Commit

Permalink
fix: path installation for non linux
Browse files Browse the repository at this point in the history
  • Loading branch information
GMinucci committed Jan 15, 2025
1 parent 7b6b8af commit 88d31d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
swift-version: ${{ matrix.swift }}

- name: Install variants
run: make DESTDIR=. && make install
run: make install

- name: Run CI validation
run: make ci-validation
Expand Down
7 changes: 1 addition & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,7 @@ else
detected_OS := $(shell uname)
endif

ifeq ($(detected_OS),Linux) # Linux only
prefix ?= ~/.local
else
prefix ?= /usr/local
endif

prefix ?= ~/.local
bindir ?= $(prefix)/bin
libdir ?= $(prefix)/lib
srcdir = Sources
Expand Down

0 comments on commit 88d31d3

Please sign in to comment.