- Use /bin/sh instead of /bin/bash in scripts

PR:		ports/118948
Submitted by:	Iouri V. Ivliev <ii at any.com.ru> (maintainer)
This commit is contained in:
Rong-En Fan
2007-12-31 17:15:14 +00:00
parent 507cb4f86a
commit 9d72d66aa6

View File

@@ -6,6 +6,7 @@
PORTNAME= pfscalibration
PORTVERSION= 1.3
PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= SF
MASTER_SITE_SUBDIR= pfstools
@@ -30,4 +31,11 @@ MAN1= jpeg2hdrgen.1 \
pfsinhdrgen.1 \
pfshdrcalibrate.1
.include <bsd.port.mk>
.include <bsd.port.pre.mk>
post-patch:
@${REINPLACE_CMD} -e "s,#!/bin/bash,#!/bin/sh," \
${WRKSRC}/src/dcraw2hdrgen \
${WRKSRC}/src/jpeg2hdrgen
.include <bsd.port.post.mk>