Fix here too
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
2009-06-16 Fatih Aşıcı <fatih@pardus.org.tr>
|
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>
|
2009-06-06 Ozan Çağlayan <ozan@pardus.org.tr>
|
||||||
* (operations/build.py): Sort the files according to their path names
|
* (operations/build.py): Sort the files according to their path names
|
||||||
|
|||||||
@@ -11,7 +11,6 @@
|
|||||||
|
|
||||||
# Standard Python Modules
|
# Standard Python Modules
|
||||||
import os
|
import os
|
||||||
from copy import deepcopy
|
|
||||||
|
|
||||||
# Pisi-Core Modules
|
# Pisi-Core Modules
|
||||||
import pisi.context as ctx
|
import pisi.context as ctx
|
||||||
@@ -22,8 +21,8 @@ def exportFlags():
|
|||||||
'''General flags used in actions API.'''
|
'''General flags used in actions API.'''
|
||||||
|
|
||||||
# first reset environ
|
# first reset environ
|
||||||
os.environ = {}
|
os.environ.clear()
|
||||||
os.environ = deepcopy(ctx.config.environ)
|
os.environ.update(ctx.config.environ)
|
||||||
|
|
||||||
# Build systems depend on these environment variables. That is why
|
# Build systems depend on these environment variables. That is why
|
||||||
# we export them instead of using as (instance) variables.
|
# we export them instead of using as (instance) variables.
|
||||||
|
|||||||
@@ -16,7 +16,6 @@ import os
|
|||||||
import re
|
import re
|
||||||
import sys
|
import sys
|
||||||
import glob
|
import glob
|
||||||
import copy
|
|
||||||
import stat
|
import stat
|
||||||
import pwd
|
import pwd
|
||||||
import grp
|
import grp
|
||||||
|
|||||||
Reference in New Issue
Block a user