1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-08 06:48:28 +00:00

Don't let the wrapper eat stdin, which breaks autopoint.

PR:		ports/184479
Submitted by:	novel@
Approved by:	ade@ (autotools@ hat)
This commit is contained in:
Koop Mast 2013-12-09 19:14:22 +00:00
parent c1bd001c50
commit 9063eba780
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=336016
2 changed files with 4 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME?= autoconf-wrapper
PORTVERSION= 20130530
PORTVERSION= 20131203
CATEGORIES= devel
MASTER_SITES= # none
DISTFILES= # none

View File

@ -31,6 +31,8 @@
bindir=%%PREFIX%%/bin
tool=$(basename $0)
exec 4<&0
error() {
echo "$@" 1>&2
exit 1
@ -85,5 +87,6 @@ if [ -n "${AUTOTOOLS_DEBUG}" ] ; then
"(${bindir}/${tool}-${selected_version})" 1>&2
fi
exec 0<&4 4<&-
exec ${bindir}/${tool}-${selected_version} "$@"
}