util.xmppstream: Don't include empty stream ID in stream header (got here from mod_c2s)
[prosody.git] / Makefile
index c5390599064405960c303b55f095f2c51fa02b41..a1de1b6d7e49b63fc2c6e9541bb2ae7b1d0e9daa 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -55,7 +55,7 @@ util/%.so:
        $(MAKE) install -C util-src
 
 %.install: %
-       sed "1s/\blua\b/$(RUNWITH)/; \
+       sed "1s| lua$$| $(RUNWITH)|; \
                s|^CFG_SOURCEDIR=.*;$$|CFG_SOURCEDIR='$(INSTALLEDSOURCE)';|; \
                s|^CFG_CONFIGDIR=.*;$$|CFG_CONFIGDIR='$(INSTALLEDCONFIG)';|; \
                s|^CFG_DATADIR=.*;$$|CFG_DATADIR='$(INSTALLEDDATA)';|; \