<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi All,<br>
    <br>
    I write a script to clean up WORKDIR that remove the obsoleted
    packages' build directories. <br>
    The script accept a argument as BUILDDIR and I use this clause to
    identify the WORKDIR:<br>
    <br>
    <big>&nbsp;&nbsp;&nbsp;&nbsp; workdir = os.path.join(builddir, 'tmp/work')<br>
      <br>
      <small>Then validate the workdir exists or not. It works for me
        but</small> </big>hardcode here as Richard point out. <br>
    So is there&nbsp; a better way to get the WORKDIR here? Thanks.<br>
    <br>
    Regards,<br>
    Kai<br>
    <br>
  </body>
</html>