[77867] trunk/base

afb at macports.org afb at macports.org
Fri Apr 15 00:33:49 PDT 2011


Revision: 77867
          http://trac.macports.org/changeset/77867
Author:   afb at macports.org
Date:     2011-04-15 00:33:49 -0700 (Fri, 15 Apr 2011)
Log Message:
-----------
make the scripts used less bashist

Modified Paths:
--------------
    trunk/base/portmgr/freebsd/Makefile.in
    trunk/base/src/pkg_mkindex.sh.in

Modified: trunk/base/portmgr/freebsd/Makefile.in
===================================================================
--- trunk/base/portmgr/freebsd/Makefile.in	2011-04-15 07:32:30 UTC (rev 77866)
+++ trunk/base/portmgr/freebsd/Makefile.in	2011-04-15 07:33:49 UTC (rev 77867)
@@ -54,8 +54,6 @@
 pre-configure:
 	@# foundation.m4 is somewhat bashist (MacPorts Bug #12252)
 	@${REINPLACE_CMD} -e 's|#! /bin/sh|#!/usr/bin/env bash|' ${WRKSRC}/configure
-	@# should really have been #!/bin/sh
-	@${REINPLACE_CMD} -e 's|#!/bin/bash|#!/usr/bin/env bash|' ${WRKSRC}/src/pkg_mkindex.sh.in
 post-configure:
 	@# Makefile only works with GNU make (MacPorts Bug #12247)
 	@${LN} -s Makefile ${WRKSRC}/GNUmakefile

Modified: trunk/base/src/pkg_mkindex.sh.in
===================================================================
--- trunk/base/src/pkg_mkindex.sh.in	2011-04-15 07:32:30 UTC (rev 77866)
+++ trunk/base/src/pkg_mkindex.sh.in	2011-04-15 07:33:49 UTC (rev 77867)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
 # pkg_mkindex.sh
 #
 # Copyright (c) 2009 The MacPorts Project
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110415/3ceaa183/attachment.html>


More information about the macports-changes mailing list