From b4b0acd0ea4f9c04ccc3eedcb10f2d6786c9e864 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=2E=C3=87a=C4=9Flar=20Onur?= Date: Fri, 24 Jun 2005 14:04:19 +0000 Subject: [PATCH] =?UTF-8?q?=20=20=20=20./tmp=20yerine=20realPath=20kullanm?= =?UTF-8?q?aya=20ba=C5=9Flayal=C4=B1m,=20yoksa=20actionsapi=20i=C3=A7inde?= =?UTF-8?q?=20taklalar=20atmam=20gerekiyor.=20Zarars=C4=B1z=20bir=20de?= =?UTF-8?q?=C4=9Fi=C5=9Fiklik...?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pisi/config.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pisi/config.py b/pisi/config.py index 9e321a27..47f5ad3e 100644 --- a/pisi/config.py +++ b/pisi/config.py @@ -6,6 +6,7 @@ #configuration parameters. from constants import const +import os class Config(object): """Config Singleton""" @@ -14,7 +15,7 @@ class Config(object): def __init__(self): # 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=... # directory accessor functions