Skip to content

Commit 6a22c24

Browse files
committed
Updated install.sh
1 parent 630ff34 commit 6a22c24

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ $(BUILD_DIR)/release/$(NAME): $(SOURCES)
1313

1414
.PHONY: install
1515
install: $(BUILD_DIR)/release/$(NAME)
16-
@install "$(BUILD_DIR)/release/$(NAME)" "$(BIN_DIR)"
16+
@sudo install "$(BUILD_DIR)/release/$(NAME)" "$(BIN_DIR)"
1717

1818
.PHONY: uninstall
1919
uninstall:

install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22

33
git clone https://github.com/ikhvorost/swift-doc-coverage.git
44
cd swift-doc-coverage
5-
sudo make install
5+
make install
66

7-
rm ../swift-doc-coverage
7+
rm -rf ../swift-doc-coverage

0 commit comments

Comments
 (0)