Skip to content

Commit 7d63be0

Browse files
committed
use cp insteaad of mv on Makefile install task
1 parent f2285c6 commit 7d63be0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
OUTPUT = phpbrew.phar
22
TARGET = phpbrew
33
MOVE = mv
4-
SUDOMOVE = sudo mv
4+
SUDOCP = sudo cp
55
INSTALL_PATH = /usr/local/bin
66
PERMISSION = chmod +x
77
TEST = phpunit
@@ -29,7 +29,7 @@ default:
2929
$(PERMISSION) $(TARGET)
3030

3131
install:
32-
$(SUDOMOVE) $(TARGET) $(INSTALL_PATH)
32+
$(SUDOCP) $(TARGET) $(INSTALL_PATH)
3333

3434
update:
3535
composer update

0 commit comments

Comments
 (0)