Skip to content

Commit

Permalink
Add quotes to work with PREFIX containing spaces (#746)
Browse files Browse the repository at this point in the history
  • Loading branch information
shadowspawn authored Nov 4, 2022
1 parent ca8d624 commit 8da17f5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
PREFIX ?= /usr/local

install: bin/n
mkdir -p $(PREFIX)/bin
cp bin/n $(PREFIX)/bin/n
mkdir -p "$(PREFIX)/bin"
cp bin/n "$(PREFIX)/bin/n"

uninstall:
rm -f $(PREFIX)/bin/n
rm -f "$(PREFIX)/bin/n"

.PHONY: install uninstall

0 comments on commit 8da17f5

Please sign in to comment.