Fix here too
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -16,7 +16,6 @@ import os
|
||||
import re
|
||||
import sys
|
||||
import glob
|
||||
import copy
|
||||
import stat
|
||||
import pwd
|
||||
import grp
|
||||
|
||||
Reference in New Issue
Block a user