From 8ed5ea55e21e0a1f3a0f6b75015a60616059415b Mon Sep 17 00:00:00 2001 From: "Yichun Zhang (agentzh)" Date: Sun, 17 Aug 2014 22:41:15 -0700 Subject: bugfix: the Makefile had a bug that overwrites existing cjson.so file in place which could cause already running nginx workers to crash. thanks ywsample for the report. --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 6fdb1f2..22e45a7 100644 --- a/Makefile +++ b/Makefile @@ -101,6 +101,7 @@ $(TARGET): $(OBJS) install: $(TARGET) mkdir -p $(DESTDIR)/$(LUA_CMODULE_DIR) + rm -f $(DESTDIR)/$(LUA_CMODULE_DIR)/$(TARGET) cp $(TARGET) $(DESTDIR)/$(LUA_CMODULE_DIR) chmod $(EXECPERM) $(DESTDIR)/$(LUA_CMODULE_DIR)/$(TARGET) -- cgit v1.2.3-55-g6feb