1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-12-23 00:08:50 -05:00

* unset LC_ALL, LANG after sourcing /etc/profile.d/*

This commit is contained in:
Jürgen Hötzel 2007-02-13 20:47:34 +00:00
parent 473fee2f11
commit ac965ed401

View File

@ -503,10 +503,6 @@ unset pkgname pkgver pkgrel pkgdesc url license groups provides md5sums force
unset replaces depends conflicts backup source install build makedepends unset replaces depends conflicts backup source install build makedepends
unset options noextract unset options noextract
# some applications (eg, blackbox) will not build with some languages
unset LC_ALL LANG
umask 0022
if [ ! -f $BUILDSCRIPT ]; then if [ ! -f $BUILDSCRIPT ]; then
error "$BUILDSCRIPT does not exist." error "$BUILDSCRIPT does not exist."
exit 1 exit 1
@ -830,6 +826,10 @@ else
# build # build
msg "Starting build()..." msg "Starting build()..."
# some applications (eg, blackbox) will not build with some languages
unset LC_ALL LANG
umask 0022
#check for "exit on syntax error" shell option #check for "exit on syntax error" shell option
echo $SHELLOPTS | grep errexit 2>&1 >/dev/null echo $SHELLOPTS | grep errexit 2>&1 >/dev/null
set_e=$? set_e=$?