summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2008-07-18 13:38:34 +1000
committerDan McGee <dan@archlinux.org>2008-07-19 11:03:03 -0500
commit99be5ab8d17ba2de351fff889012e1af85236ae0 (patch)
tree579d98e0fff8f7b64355daa8c47463625f92bf9f /scripts
parent471ed04790992cd2d1ec6f405f132ce544fcadd2 (diff)
Use LC_ALL=C everywhere
Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/makepkg.sh.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in
index 0bff8731..24ca38f5 100644
--- a/scripts/makepkg.sh.in
+++ b/scripts/makepkg.sh.in
@@ -778,7 +778,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
@@ -1012,7 +1012,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...")"