From d9a9a748a37703eb678d99a7376d5bd909e1e9fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=2E=C3=87a=C4=9Flar=20Onur?= Date: Thu, 11 Aug 2005 21:50:09 +0000 Subject: [PATCH] needed by gcc package --- pisi/actionsapi/shelltools.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pisi/actionsapi/shelltools.py b/pisi/actionsapi/shelltools.py index 1282c1ed..0caeecdb 100644 --- a/pisi/actionsapi/shelltools.py +++ b/pisi/actionsapi/shelltools.py @@ -107,6 +107,9 @@ def realPath(sourceFile): def baseName(sourceFile): return os.path.basename(sourceFile) +def dirName(sourceFile): + return os.path.dirname(sourceFile) + def sym(sourceFile, destinationFile): os.symlink(sourceFile, destinationFile)