1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 14:41:17 +00:00

* Handle the case where /tmp/coverage-data already exists.

svn path=/nixos/trunk/; revision=25486
This commit is contained in:
Eelco Dolstra 2011-01-10 12:22:24 +00:00
parent 8f831338df
commit e09faf4bb3

View file

@ -52,8 +52,8 @@ in
# it to the host filesystem so that we don't need to copy it
# on shutdown.
( eval $(cat /proc/cmdline)
mkdir /hostfs/$hostTmpDir/coverage-data
ln -s /hostfs/$hostTmpDir/coverage-data /tmp/coverage-data
mkdir -p /hostfs/$hostTmpDir/coverage-data
ln -sfn /hostfs/$hostTmpDir/coverage-data /tmp/coverage-data
)
# Mount debugfs to gain access to the kernel coverage data (if