diff --git a/install.sh b/install.sh index d31c404..d8a77d0 100755 --- a/install.sh +++ b/install.sh @@ -70,7 +70,14 @@ mkdir -p "./usr/share/e9tool/include/" cp "../../src/e9tool/e9tool.h" "./usr/share/e9tool/include/" cp "../../src/e9tool/e9plugin.h" "./usr/share/e9tool/include/" mkdir -p "./usr/share/e9tool/examples/" +cp "../../examples/bounds.c" "./usr/share/e9tool/examples/" +cat "../../examples/bounds.sh" | \ + sed 's/.\/e9compile.sh examples\/bounds.c/e9compile \/usr\/share\/e9tool\/examples\/bounds.c/' | \ + sed 's/\.\/e9tool/e9tool/' > "./usr/share/e9tool/examples/bounds.sh" +chmod a+x "./usr/share/e9tool/examples/bounds.sh" +cp "../../examples/cfi.c" "./usr/share/e9tool/examples/" cp "../../examples/count.c" "./usr/share/e9tool/examples/" +cp "../../examples/cov.c" "./usr/share/e9tool/examples/" cp "../../examples/delay.c" "./usr/share/e9tool/examples/" cp "../../examples/hello.c" "./usr/share/e9tool/examples/" cp "../../examples/limit.c" "./usr/share/e9tool/examples/"