diff options
author | tron <tron@pkgsrc.org> | 2013-01-28 11:29:29 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2013-01-28 11:29:29 +0000 |
commit | 914679156fd00816a4379b44b73576b6d0d06864 (patch) | |
tree | af5575d308ec207c5b49a99c01c9317465528712 | |
parent | 2a17ea0435fd4602c9a7f0611b60ae27e9875a21 (diff) | |
download | pkgsrc-914679156fd00816a4379b44b73576b6d0d06864.tar.gz |
Also fix the "patch" target for patch files with broken UTF-8 sequences
in them under Mac OS X Mountain Lion.
The previous change only fixed the "makedistinfo" target.
-rwxr-xr-x | mk/checksum/checksum | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/mk/checksum/checksum b/mk/checksum/checksum index 6bba786bd60..dd617b48778 100755 --- a/mk/checksum/checksum +++ b/mk/checksum/checksum @@ -1,6 +1,6 @@ #!/bin/sh # -# $NetBSD: checksum,v 1.13 2012/10/13 15:31:23 jmmv Exp $ +# $NetBSD: checksum,v 1.14 2013/01/28 11:29:29 tron Exp $ # # Copyright (c) 2006, 2007 The NetBSD Foundation, Inc. # All rights reserved. @@ -79,6 +79,9 @@ set -e # exit on errors : ${SED:=sed} : ${TEST:=test} +# Work around problematic UTF-8 handling in "sed" under Mac OS X Mountain Lion. +LC_ALL=C; export LC_ALL + self="${0##*/}" usage() { |