diff options
author | Yichun Zhang (agentzh) <agentzh@gmail.com> | 2014-08-17 22:41:15 -0700 |
---|---|---|
committer | Yichun Zhang (agentzh) <agentzh@gmail.com> | 2014-08-17 22:41:15 -0700 |
commit | 8ed5ea55e21e0a1f3a0f6b75015a60616059415b (patch) | |
tree | 013489a55ddd64e8878727523d81198a0d6a6483 | |
parent | afcb87695c7e7c8a92d0a1452bdf02f82d0290fb (diff) | |
download | lua-cjson-2.1.0.2.tar.gz lua-cjson-2.1.0.2.tar.bz2 lua-cjson-2.1.0.2.zip |
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.2.1.0.2
-rw-r--r-- | Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -101,6 +101,7 @@ $(TARGET): $(OBJS) | |||
101 | 101 | ||
102 | install: $(TARGET) | 102 | install: $(TARGET) |
103 | mkdir -p $(DESTDIR)/$(LUA_CMODULE_DIR) | 103 | mkdir -p $(DESTDIR)/$(LUA_CMODULE_DIR) |
104 | rm -f $(DESTDIR)/$(LUA_CMODULE_DIR)/$(TARGET) | ||
104 | cp $(TARGET) $(DESTDIR)/$(LUA_CMODULE_DIR) | 105 | cp $(TARGET) $(DESTDIR)/$(LUA_CMODULE_DIR) |
105 | chmod $(EXECPERM) $(DESTDIR)/$(LUA_CMODULE_DIR)/$(TARGET) | 106 | chmod $(EXECPERM) $(DESTDIR)/$(LUA_CMODULE_DIR)/$(TARGET) |
106 | 107 | ||