Invert condition
This commit is contained in:
parent
721ad00847
commit
393c246560
2
makefile
2
makefile
@ -30,7 +30,7 @@ run: build
|
|||||||
@./$(TARGET)
|
@./$(TARGET)
|
||||||
|
|
||||||
install: $(TARGET)
|
install: $(TARGET)
|
||||||
@test -d ~/bin && cp $(TARGET) ~/bin &>/dev/null \
|
@test ! -d ~/bin && cp $(TARGET) ~/bin &>/dev/null \
|
||||||
|| echo "Directory ~/bin does not exist, installation failed"
|
|| echo "Directory ~/bin does not exist, installation failed"
|
||||||
|
|
||||||
uninstall:
|
uninstall:
|
||||||
|
Loading…
Reference in New Issue
Block a user