diff options
author | jperkin <jperkin@pkgsrc.org> | 2014-02-22 00:35:41 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2014-02-22 00:35:41 +0000 |
commit | ed7b64bf1fee11550fdbc5f55213c5d47cfd12dc (patch) | |
tree | 375e523006b1524c86d17b04d40182583f0da117 | |
parent | ce5d6a39d51d0e4d7928b113f0bf24408c01b80d (diff) | |
download | pkgsrc-ed7b64bf1fee11550fdbc5f55213c5d47cfd12dc.tar.gz |
pbulk-0.52: ensure sort(1) is called with LC_ALL=C
Without this, a LANG of e.g. en_US.UTF-8 would sort "- *" before "+ <file>",
resulting in no packages being uploaded.
-rw-r--r-- | pkgtools/pbulk/Makefile | 4 | ||||
-rwxr-xr-x | pkgtools/pbulk/files/pbulk/scripts/upload | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/pkgtools/pbulk/Makefile b/pkgtools/pbulk/Makefile index e99a3a1550a..b4383e8a19a 100644 --- a/pkgtools/pbulk/Makefile +++ b/pkgtools/pbulk/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.66 2012/11/23 12:13:34 joerg Exp $ +# $NetBSD: Makefile,v 1.67 2014/02/22 00:35:41 jperkin Exp $ -DISTNAME= pbulk-0.51 +DISTNAME= pbulk-0.52 COMMENT= Modular bulk build framework .include "../../pkgtools/pbulk/Makefile.common" diff --git a/pkgtools/pbulk/files/pbulk/scripts/upload b/pkgtools/pbulk/files/pbulk/scripts/upload index 6b212d6ad8a..2a17168f83b 100755 --- a/pkgtools/pbulk/files/pbulk/scripts/upload +++ b/pkgtools/pbulk/files/pbulk/scripts/upload @@ -1,5 +1,5 @@ #!@SH@ -# $NetBSD: upload,v 1.3 2008/09/16 18:21:30 joerg Exp $ +# $NetBSD: upload,v 1.4 2014/02/22 00:35:41 jperkin Exp $ # # Copyright (c) 2007 Joerg Sonnenberger <joerg@NetBSD.org>. # All rights reserved. @@ -50,4 +50,4 @@ cd ${packages} echo "+ All/pkg_summary.gz" ${packages_script} ${loc} echo "- *" -} | sort | ${rsync} --exclude-from=- ${pkg_rsync_args} . ${pkg_rsync_target} +} | LC_ALL=C sort | ${rsync} --exclude-from=- ${pkg_rsync_args} . ${pkg_rsync_target} |