summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSlava Barinov <v.barinov@samsung.com>2016-10-27 14:48:23 +0300
committerDongkyun, Son <dongkyun.s@samsung.com>2016-10-27 22:17:41 +0900
commit7f4395b1edd317aeeb9edbbf3886d3d8a208015b (patch)
treef4c220b157ca6e87fe130df7c9b8f887d41efb61
parentaf570061dc6be756038e2833db40f4b918c8112f (diff)
downloadmic-bootstrap-sandbox/dkson95/asan.tar.gz
mic-bootstrap-sandbox/dkson95/asan.tar.bz2
mic-bootstrap-sandbox/dkson95/asan.zip
Create the etc if it doesn't existsandbox/dkson95/asan
Signed-off-by: Slava Barinov <v.barinov@samsung.com>
-rw-r--r--packaging/mic-bootstrap.spec3
1 files changed, 1 insertions, 2 deletions
diff --git a/packaging/mic-bootstrap.spec b/packaging/mic-bootstrap.spec
index fd7c20b..5dbf86c 100644
--- a/packaging/mic-bootstrap.spec
+++ b/packaging/mic-bootstrap.spec
@@ -90,10 +90,9 @@ done
rm filestoinclude1
rm filestoinclude2
-%{?asan:
+mkdir -p %{buildroot}/etc
echo '/usr/lib/libasan.so' > %{buildroot}/etc/ld.so.preload
echo '/etc/ld.so.preload' >> filestoinclude
-}
set -x