summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 9fa4bbf..44f0876 100644
--- a/Makefile
+++ b/Makefile
@@ -31,4 +31,4 @@ publish: build
git symbolic-ref HEAD refs/heads/master
git reset --mixed
- rm rf $(DEPLOY_DIR)
+ [ -d $(DEPLOY_DIR) ] && rm -rf $(DEPLOY_DIR)