Skip to content

Commit cd323d4

Browse files
committed
Fix "permission denied" in sed exec during install
1 parent 5c37e7e commit cd323d4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ STACK_PATH:=$(shell dirname $(realpath $(firstword $(MAKEFILE_LIST))))
33
.PHONY: install
44
install:
55
@echo "Installing OpenCodeCo stack!"
6-
@sudo sed 's#STACK_PATH=$$(pwd)#STACK_PATH=$(STACK_PATH)#g' ./stack > /usr/local/bin/stack
6+
@sed 's#STACK_PATH=$$(pwd)#STACK_PATH=$(STACK_PATH)#g' ./stack > /tmp/stack
7+
@sudo mv /tmp/stack /usr/local/bin/stack
78
@sudo chmod +x /usr/local/bin/stack
89
@echo "Creating network..."
910
@stack network

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy