summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Pokorný <jpokorny@redhat.com>2013-04-17 18:48:44 +0200
committerJan Pokorný <jpokorny@redhat.com>2013-04-17 18:48:44 +0200
commit5243a779db9c872abd0b17b7c701ac6b89594af8 (patch)
tree7c483ae6caecd8bf5392b7ca392e73b13e2350cc
parent748e6fd8220d93b7758f71a7d1be22cefb3424a1 (diff)
downloadontogen-5243a779db9c872abd0b17b7c701ac6b89594af8.tar.gz
ontogen-5243a779db9c872abd0b17b7c701ac6b89594af8.tar.xz
ontogen-5243a779db9c872abd0b17b7c701ac6b89594af8.zip
quickstart: enable using IsaViz out of the box
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
-rw-r--r--quickstart/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/quickstart/Makefile b/quickstart/Makefile
index 07359b2..7d38794 100644
--- a/quickstart/Makefile
+++ b/quickstart/Makefile
@@ -119,8 +119,9 @@ $(TARGETS:=.1.svg): %.svg: %.rdf ${SVG_ISAVIZ_path}/${SVG_ISAVIZ_runner}
>>${SVG_ISAVIZ_cfg}
echo '</isv:config>' >>${SVG_ISAVIZ_cfg}
pushd ${SVG_ISAVIZ_path} 2>/dev/null && \
- ( ${SVG_ISAVIZ_runner} || : ) && \
- popd 2>/dev/null
+ ( cat ${SVG_ISAVIZ_runner} \
+ | sed 's|\(ISAVIZ_HOME=\).*|\1${SVG_ISAVIZ_path}|' \
+ | sh || : ) && popd 2>/dev/null
mv ${SVG_ISAVIZ_cfg}.$(@:.1.svg=) ${SVG_ISAVIZ_cfg} || rm -f ${SVG_ISAVIZ_cfg}
${DEBUG_RM_DEP}