./tmp yerine realPath kullanmaya başlayalım, yoksa actionsapi içinde taklalar atmam gerekiyor. Zararsız bir değişiklik...
This commit is contained in:
+2
-1
@@ -6,6 +6,7 @@
|
|||||||
#configuration parameters.
|
#configuration parameters.
|
||||||
|
|
||||||
from constants import const
|
from constants import const
|
||||||
|
import os
|
||||||
|
|
||||||
class Config(object):
|
class Config(object):
|
||||||
"""Config Singleton"""
|
"""Config Singleton"""
|
||||||
@@ -14,7 +15,7 @@ class Config(object):
|
|||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
# self.c.destdir = '' # install default to root by default
|
# self.c.destdir = '' # install default to root by default
|
||||||
self.destdir = './tmp' # only for ALPHA
|
self.destdir = os.getcwd() +'/tmp' # only for ALPHA
|
||||||
# the idea is that destdir can be set with --destdir=...
|
# the idea is that destdir can be set with --destdir=...
|
||||||
|
|
||||||
# directory accessor functions
|
# directory accessor functions
|
||||||
|
|||||||
Reference in New Issue
Block a user