From 20a0f4c0617702767c1ffe7ee4cd305865c8ac32 Mon Sep 17 00:00:00 2001 From: seb Date: Mon, 7 Jul 2003 12:55:16 +0000 Subject: Use '@SH@' for pkgdiff's interpreter and substitute for it. SH is /bin/ksh on Solaris, this gives us a working pkgdiff on Solaris. --- pkgtools/pkgdiff/Makefile | 3 ++- pkgtools/pkgdiff/files/pkgdiff | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'pkgtools/pkgdiff') diff --git a/pkgtools/pkgdiff/Makefile b/pkgtools/pkgdiff/Makefile index 0253c03c734..2a360f26d67 100644 --- a/pkgtools/pkgdiff/Makefile +++ b/pkgtools/pkgdiff/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.36 2003/06/14 19:12:40 atatat Exp $ +# $NetBSD: Makefile,v 1.37 2003/07/07 12:55:16 seb Exp $ # DISTNAME= pkgdiff-0.111 @@ -40,6 +40,7 @@ do-build: > ${WRKSRC}/${FILE} .endfor ${SED} -e 's|@DIFF@|${DIFF}|g' \ + -e 's|@SH@|${SH}|g' \ < ${FILESDIR}/pkgdiff \ > ${WRKSRC}/pkgdiff ${CP} ${FILESDIR}/pkgvi ${WRKSRC} diff --git a/pkgtools/pkgdiff/files/pkgdiff b/pkgtools/pkgdiff/files/pkgdiff index 040fc3e02b8..62b5b7814f4 100755 --- a/pkgtools/pkgdiff/files/pkgdiff +++ b/pkgtools/pkgdiff/files/pkgdiff @@ -1,6 +1,6 @@ -#!/bin/sh +#!@SH@ # -# $NetBSD: pkgdiff,v 1.12 2003/06/14 19:12:41 atatat Exp $ +# $NetBSD: pkgdiff,v 1.13 2003/07/07 12:55:17 seb Exp $ # # Usage: pkgdiff newfile # pkgdiff oldfile newfile -- cgit v1.2.3