* unset LC_ALL, LANG after sourcing /etc/profile.d/*
This commit is contained in:
parent
473fee2f11
commit
ac965ed401
1 changed files with 4 additions and 4 deletions
|
@ -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 options noextract
|
||||
|
||||
# some applications (eg, blackbox) will not build with some languages
|
||||
unset LC_ALL LANG
|
||||
umask 0022
|
||||
|
||||
if [ ! -f $BUILDSCRIPT ]; then
|
||||
error "$BUILDSCRIPT does not exist."
|
||||
exit 1
|
||||
|
@ -830,6 +826,10 @@ else
|
|||
# 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
|
||||
echo $SHELLOPTS | grep errexit 2>&1 >/dev/null
|
||||
set_e=$?
|
||||
|
|
Loading…
Add table
Reference in a new issue