From a5efa08750d47452531b46f728ec0d42cb937124 Mon Sep 17 00:00:00 2001 From: Faik Uygur Date: Tue, 2 May 2006 06:39:12 +0000 Subject: [PATCH] add debug_dir constant --- pisi/build.py | 3 +++ pisi/constants.py | 1 + 2 files changed, 4 insertions(+) diff --git a/pisi/build.py b/pisi/build.py index e7c329ae..980aa992 100644 --- a/pisi/build.py +++ b/pisi/build.py @@ -164,6 +164,9 @@ class Builder: def pkg_work_dir(self): return self.pkg_dir() + ctx.const.work_dir_suffix + def pkg_debug_dir(self): + return self.pkg_dir() + ctx.const.debug_dir_suffix + def pkg_install_dir(self): return self.pkg_dir() + ctx.const.install_dir_suffix diff --git a/pisi/constants.py b/pisi/constants.py index b25ae03a..5ff479be 100644 --- a/pisi/constants.py +++ b/pisi/constants.py @@ -60,6 +60,7 @@ class Constants: # directory suffixes for build self.__c.work_dir_suffix = "/work" # these, too, because we might wanna change 'em self.__c.install_dir_suffix = "/install" + self.__c.debug_dir_suffix = "/debug" # file/directory names #note: these don't seem very well, constants are used