[pacman-dev] CVS update of pacman-lib/scripts (makepkg)
Juergen Hoetzel
juergen at archlinux.org
Tue Feb 13 15:47:34 EST 2007
Date: Tuesday, February 13, 2007 @ 15:47:34
Author: juergen
Path: /home/cvs-pacman/pacman-lib/scripts
Modified: makepkg (1.48 -> 1.49)
* unset LC_ALL, LANG after sourcing /etc/profile.d/*
---------+
makepkg | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
Index: pacman-lib/scripts/makepkg
diff -u pacman-lib/scripts/makepkg:1.48 pacman-lib/scripts/makepkg:1.49
--- pacman-lib/scripts/makepkg:1.48 Sun Feb 11 16:47:37 2007
+++ pacman-lib/scripts/makepkg Tue Feb 13 15:47:34 2007
@@ -503,10 +503,6 @@
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 @@
# 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=$?
More information about the pacman-dev
mailing list