Fix: rm: cannot remove `VERSION': No such file or directory.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Mon, 26 Nov 2012 23:54:24 +0200
changeset 261 30c6f0eb02db
parent 260 5f6befed263c
child 262 4e7d80da3eb4
Fix: rm: cannot remove `VERSION': No such file or directory.
Makefile
--- a/Makefile	Mon Nov 26 23:35:38 2012 +0200
+++ b/Makefile	Mon Nov 26 23:54:24 2012 +0200
@@ -47,7 +47,7 @@
 # Prevent from deploying and distributing with wrong version.
 ifneq '' '$(filter deploy% dist%,$(MAKECMDGOALS))'
   ifeq '' '$(MAKE_RESTARTS)'
-    $(info $(shell rm VERSION))
+    $(info $(shell rm -f VERSION))
   endif
 endif