[pacman-dev] [PATCH] Use LC_ALL=C everywhere
Allan McRae
allan at archlinux.org
Thu Jul 17 23:41:09 EDT 2008
Signed-off-by: Allan McRae <allan at archlinux.org>
---
scripts/makepkg.sh.in | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in
index 2ab2aef..cbdad56 100644
--- a/scripts/makepkg.sh.in
+++ b/scripts/makepkg.sh.in
@@ -783,7 +783,7 @@ create_package() {
if [ "$INFAKEROOT" = "1" ]; then
echo "# using $(fakeroot -v)" >>.PKGINFO
fi
- echo "# $(LC_ALL= LANG= date -u)" >>.PKGINFO
+ echo "# $(LC_ALL=C date -u)" >>.PKGINFO
echo "pkgname = $pkgname" >>.PKGINFO
echo "pkgver = $pkgver-$pkgrel" >>.PKGINFO
echo "pkgdesc = $pkgdesc" >>.PKGINFO
@@ -1017,7 +1017,7 @@ devel_check() {
elif [ ! -z ${_svntrunk} ] && [ ! -z ${_svnmod} ] ; then
[ $(type -p svn) ] || return 0
msg "$(gettext "Determining latest svn revision...")"
- newpkgver=$(LC_ALL= LANG= svn info $_svntrunk | sed -n 's/^Last Changed Rev: \([0-9]*\)$/\1/p')
+ newpkgver=$(LC_ALL=C svn info $_svntrunk | sed -n 's/^Last Changed Rev: \([0-9]*\)$/\1/p')
elif [ ! -z ${_bzrtrunk} ] && [ ! -z ${_bzrmod} ] ; then
[ $(type -p bzr) ] || return 0
msg "$(gettext "Determining latest bzr revision...")"
--
1.5.6.3
More information about the pacman-dev
mailing list