Used username to construct a path to gbs cache.
authorEd Bartosh <eduard.bartosh@intel.com>
Tue, 24 Jul 2012 13:39:42 +0000 (16:39 +0300)
committerEd Bartosh <eduard.bartosh@intel.com>
Tue, 24 Jul 2012 13:50:04 +0000 (16:50 +0300)
commit9ecfc72ea239ff814f11df11d4710815983d71dd
tree92797217e7942fe890fd09ebc38dd4263235f94a
parent7a5da86f379beb05ccd558a4a2f75869b3c4009c
Used username to construct a path to gbs cache.

Without this change /var/tmp/gbscashe is owned by the user,
who created it. This causes 'permission denied' traceback when trying
to update repository metadata by another user running gbs build.

Fixes #190 and #197.

Change-Id: Ib3df0b215202553b5be1fb5e328cac334a5519b1
gitbuildsys/cmd_build.py