From 12e457ec3a7575625351abef5260bed42dc3c4eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=2E=C3=87a=C4=9Flar=20Onur?= Date: Thu, 30 Jun 2005 13:59:35 +0000 Subject: [PATCH] =?UTF-8?q?Default=20arg=C3=BCman=20yerinde=20tan=C4=B1mla?= =?UTF-8?q?ns=C4=B1n?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pisi/actionsapi/pisitools.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/pisi/actionsapi/pisitools.py b/pisi/actionsapi/pisitools.py index d065bd06..671c959d 100644 --- a/pisi/actionsapi/pisitools.py +++ b/pisi/actionsapi/pisitools.py @@ -37,12 +37,9 @@ def dosed(filename, *sedPattern): for pattern in sedPattern: os.system('sed -i -e \'' + pattern + '\' ' + filename) -def dosbin(filename, destination=None): +def dosbin(filename, destination='/' + config.dirs.sbin): env = config.env - if not destination: - destination = '/' + config.dirs.sbin - try: os.makedirs(env.install_dir + destination) except OSError: