[Gelistirici] [Uludag-commits] r13338 - branches/pisi-catbox/pisi

Ismail Dönmez ismail at pardus.org.tr
8 Nis 2007 Paz 23:55:48 EEST


On Sunday 08 April 2007 23:50:16 svn-uludag at uludag.org.tr wrote:
> Author: caglar
> Date: Sun Apr  8 23:50:16 2007
> New Revision: 13338
>
> Modified:
>    branches/pisi-catbox/pisi/build.py
> Log:
> ccache ağlama
>
> Modified: branches/pisi-catbox/pisi/build.py
> =================================================================
> --- branches/pisi-catbox/pisi/build.py	(original)
> +++ branches/pisi-catbox/pisi/build.py	Sun Apr  8 23:50:16 2007
> @@ -422,7 +422,10 @@
>                  self.actionLocals[func]()
>              else:
>                  import catbox
> -                ret = catbox.run(self.actionLocals[func], [self.pkg_dir(),
> "/tmp", "/var/tmp", "/dev/tty", "/proc", "/dev/null"]) +               
> valid_dirs = [self.pkg_dir(), "/tmp", "/var/tmp", "/dev/tty", "/proc",
> "/dev/null"] +                if ctx.config.values.build.buildhelper ==
> "ccache": +                    valid_dirs.append("/%s/.ccache" %
> os.environ["HOME"]) +                ret =
> catbox.run(self.actionLocals[func], valid_dirs) if ret.violations != []:
>                      ctx.ui.error(_("Sandbox violation:") + "\n" +
> "\n".join(map(str, ret.violations))) else:

Burda buildhelper ccache olmasa da, sistemde ccache yüklüyse valid_dirs'a 
eklenmeli ~/.ccache.


-- 
Happiness in intelligent people is the rarest thing I know. (Ernest Hemingway)

Ismail Donmez ismail (at) pardus.org.tr
GPG Fingerprint: 7ACD 5836 7827 5598 D721 DF0D 1A9D 257A 5B88 F54C
Pardus Linux / KDE developer
-------------- sonraki bölüm --------------
A non-text attachment was scrubbed...
Name: kullanılamıyor
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://liste.pardus.org.tr/gelistirici/attachments/20070408/f6771f74/attachment-0002.pgp>


Gelistirici mesaj listesiyle ilgili daha fazla bilgi