Invert condition

This commit is contained in:
Artur Tamborski 2019-01-02 01:42:03 +01:00
parent 721ad00847
commit 393c246560

View File

@ -30,7 +30,7 @@ run: build
@./$(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"
uninstall: