From 393c24656076a5814b3fa95d7806aed48e043398 Mon Sep 17 00:00:00 2001 From: Artur Tamborski Date: Wed, 2 Jan 2019 01:42:03 +0100 Subject: [PATCH] Invert condition --- makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makefile b/makefile index d34020a..5c51583 100644 --- a/makefile +++ b/makefile @@ -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: