Hi All,
I write a script to clean up WORKDIR that remove the obsoleted
packages' build directories.
The script accept a argument as BUILDDIR and I use this clause to
identify the WORKDIR:
workdir = os.path.join(builddir, 'tmp/work')
Then validate the workdir exists or not. It works for me
but hardcode here as Richard point out.
So is there a better way to get the WORKDIR here? Thanks.
Regards,
Kai