diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-05-24 21:50:42 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-05-24 21:50:42 +0000 |
commit | 937098cb9ccb410693c70f288173f1f2b17837f5 (patch) | |
tree | d9650097e636782e5e5e7440cdae8618ad9c9efa /.Makefile.inc | |
parent | 0bb6933f70664f3dfe653f3eab0ab7090492498d (diff) |
Fixed to erase .so and binaries before trying to overwrite them so mmap doesnt mess up and segfault any running copy (thanks jilles)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1507 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to '.Makefile.inc')
-rw-r--r-- | .Makefile.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/.Makefile.inc b/.Makefile.inc index 4cd07e5d0..d4f8d4745 100644 --- a/.Makefile.inc +++ b/.Makefile.inc @@ -29,6 +29,8 @@ ircd: ${MAKE} -C src DIRNAME="src" $(MAKEARGS) bininst: + @-rm -f $(BINPATH)/*.so + @-rm -f $(BINPATH)/inspircd @-cp src/*.so $(LIBPATH) @-cp src/inspircd $(BINPATH) @-chmod 0700 $(BINPATH)/inspircd |