Skip to content

Commit e0f0d3c

Browse files
committed
Add new samples to install.sh script
1 parent 8b01ef1 commit e0f0d3c

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

install.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,14 @@ mkdir -p "./usr/share/e9tool/include/"
7070
cp "../../src/e9tool/e9tool.h" "./usr/share/e9tool/include/"
7171
cp "../../src/e9tool/e9plugin.h" "./usr/share/e9tool/include/"
7272
mkdir -p "./usr/share/e9tool/examples/"
73+
cp "../../examples/bounds.c" "./usr/share/e9tool/examples/"
74+
cat "../../examples/bounds.sh" | \
75+
sed 's/.\/e9compile.sh examples\/bounds.c/e9compile \/usr\/share\/e9tool\/examples\/bounds.c/' | \
76+
sed 's/\.\/e9tool/e9tool/' > "./usr/share/e9tool/examples/bounds.sh"
77+
chmod a+x "./usr/share/e9tool/examples/bounds.sh"
78+
cp "../../examples/cfi.c" "./usr/share/e9tool/examples/"
7379
cp "../../examples/count.c" "./usr/share/e9tool/examples/"
80+
cp "../../examples/cov.c" "./usr/share/e9tool/examples/"
7481
cp "../../examples/delay.c" "./usr/share/e9tool/examples/"
7582
cp "../../examples/hello.c" "./usr/share/e9tool/examples/"
7683
cp "../../examples/limit.c" "./usr/share/e9tool/examples/"

0 commit comments

Comments
 (0)