use correct dir for creation of icecream env
authorStefan Brüns <stefan.bruens@rwth-aachen.de>
Sun, 19 Jul 2015 14:20:13 +0000 (16:20 +0200)
committerSoonKyu Park <sk7.park@samsung.com>
Mon, 26 Sep 2016 01:34:20 +0000 (10:34 +0900)
commitaf9ad6b54cbf011308e1cdade2d92666ef3f564f
treefea769f872513ae85e51352604ba3869688cd809
parentbb2a3cc363850d2751058d34c90d5fe00bc80cbc
use correct dir for creation of icecream env

/var/run might point to the absolute path /run. Thus any commands
referencing $BUILD_ROOT/var/run are actually using the hosts /run
directory, whereas the "cd" tries to change to the nonexisting
/run/icecream directory and fails.

This is a cherry-pick from upstream:
https://github.com/openSUSE/obs-build/commit/21359a6ebcbacdb1754a7c4339a7cca7e496e52f

Change-Id: Ibb87b525f115c5f9435c18db9c72773ca058d8ff
Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de>
Signed-off-by: Julien Isorce <j.isorce@samsung.com>
build