From f9d847728948fc2895c01efd93c952d2e480204a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=2E=C3=87a=C4=9Flar=20Onur?= Date: Sat, 25 Feb 2006 14:34:13 +0000 Subject: [PATCH] Ahmet'in scons fixi --- pisi/actionsapi/scons.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pisi/actionsapi/scons.py b/pisi/actionsapi/scons.py index c992986f..e592bb8c 100644 --- a/pisi/actionsapi/scons.py +++ b/pisi/actionsapi/scons.py @@ -39,6 +39,6 @@ def make(parameters = ''): if system("scons %s" % parameters): raise MakeError(_('Make failed.')) -def install(parameters = 'install'): - if system("scons prefix=%s %s" % (get.installDIR(), parameters)): +def install(parameters = 'install', prefix = get.installDIR()): + if system("scons prefix=%s %s" % (prefix, parameters)): raise InstallError(_('Install failed.'))