Eray'ın haklı önerisi üzerine
This commit is contained in:
+2
-3
@@ -84,10 +84,9 @@ class PisiBuild:
|
|||||||
"""Changes the current working directory to package_work_dir() for
|
"""Changes the current working directory to package_work_dir() for
|
||||||
actions.py to do its work."""
|
actions.py to do its work."""
|
||||||
if 'WorkDir' in globals:
|
if 'WorkDir' in globals:
|
||||||
path = self.ctx.pkg_work_dir() + "/" + globals['WorkDir']
|
path = os.path.join(self.ctx.pkg_work_dir(), globals['WorkDir'])
|
||||||
else:
|
else:
|
||||||
path = self.ctx.pkg_work_dir() + "/" + \
|
path = os.path.join(self.ctx.pkg_work_dir(), self.spec.source.name + "-" + self.spec.source.version)
|
||||||
self.spec.source.name + "-" + self.spec.source.version
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
os.chdir(path)
|
os.chdir(path)
|
||||||
|
|||||||
Reference in New Issue
Block a user