[117993] trunk/dports/net/pastebinit/Portfile

rmstonecipher at macports.org rmstonecipher at macports.org
Tue Mar 18 10:15:24 PDT 2014


Revision: 117993
          https://trac.macports.org/changeset/117993
Author:   rmstonecipher at macports.org
Date:     2014-03-18 10:15:24 -0700 (Tue, 18 Mar 2014)
Log Message:
-----------
net/pastebinit fix broken reinplace

Modified Paths:
--------------
    trunk/dports/net/pastebinit/Portfile

Modified: trunk/dports/net/pastebinit/Portfile
===================================================================
--- trunk/dports/net/pastebinit/Portfile	2014-03-18 16:37:57 UTC (rev 117992)
+++ trunk/dports/net/pastebinit/Portfile	2014-03-18 17:15:24 UTC (rev 117993)
@@ -5,6 +5,7 @@
 
 name                pastebinit
 version             1.3.1
+revision            1
 maintainers         nomaintainer
 
 categories          net python
@@ -29,7 +30,7 @@
 
 post-patch {
     # Fix paths
-    reinplace "s|^#!/usr/bin/python|#!${prefix}/bin/python2.7|" ${worksrcpath}/pastebinit
+    reinplace "s|^#!/usr/bin/env python|#!${prefix}/bin/python2.7|" ${worksrcpath}/pastebinit
     reinplace "s|/etc/pastebin.d|${prefix}/etc/pastebin.d|" ${worksrcpath}/pastebinit
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140318/2587b936/attachment.html>


More information about the macports-changes mailing list