Skip to content
Permalink
Browse files

lua-wsapi: removed CR line endings from cgi launcher, revision bump

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@77708 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
anddam committed Apr 9, 2011
1 parent f6b715e commit e9a4b97fd0801ed404533513ebe42ce50d10c0e2
Showing with 2 additions and 1 deletion.
  1. +2 −1 devel/lua-wsapi/Portfile
@@ -3,7 +3,7 @@ PortSystem 1.0

name lua-wsapi
version 1.4
revision 2
revision 3
categories devel
platforms darwin
maintainers and.damore openmaintainer
@@ -35,6 +35,7 @@ patchfiles patch-Makefile.diff \
patch-src-fastcgi-lfcgi.c.diff

post-patch {
reinplace "s|\x0D||g" ${worksrcpath}/src/launcher/wsapi.cgi
reinplace "s|#!/usr/bin/lua|#!/usr/bin/env lua|" ${worksrcpath}/src/launcher/wsapi.cgi
reinplace "s|#!/usr/bin/lua|#!/usr/bin/env lua|" ${worksrcpath}/src/launcher/wsapi.fcgi
reinplace "s|lua51|lua|" ${worksrcpath}/samples/cgi-example.lua

0 comments on commit e9a4b97

Please sign in to comment.
You can’t perform that action at this time.