Fix here too

This commit is contained in:
Fatih Aşıcı
2009-06-16 08:29:07 +00:00
parent 3a23ab9d87
commit 1a4e801ae4
3 changed files with 3 additions and 5 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
2009-06-16 Fatih Aşıcı <fatih@pardus.org.tr>
* (operations/build.py): Fix resetting of the environment.
* Fix resetting of the environment.
2009-06-06 Ozan Çağlayan <ozan@pardus.org.tr>
* (operations/build.py): Sort the files according to their path names
+2 -3
View File
@@ -11,7 +11,6 @@
# Standard Python Modules
import os
from copy import deepcopy
# Pisi-Core Modules
import pisi.context as ctx
@@ -22,8 +21,8 @@ def exportFlags():
'''General flags used in actions API.'''
# first reset environ
os.environ = {}
os.environ = deepcopy(ctx.config.environ)
os.environ.clear()
os.environ.update(ctx.config.environ)
# Build systems depend on these environment variables. That is why
# we export them instead of using as (instance) variables.
-1
View File
@@ -16,7 +16,6 @@ import os
import re
import sys
import glob
import copy
import stat
import pwd
import grp