This file is indexed.

/usr/share/doc/libgnatcoll-doc/examples/library/build.sh is in libgnatcoll-doc 17.0.2017-3.

This file is owned by root:root, with mode 0o755.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh

cd obj

# Create the database from the schema (remove the old one, just in case)
rm -f library.db
gnatcoll_db2ada -dbtype=sqlite -dbname=library.db -dbmodel=../dbschema.txt -createdb

# Generate the Ada API
gnatcoll_db2ada -api=Database -orm=ORM -dbmodel=../dbschema.txt

cd ..

# -m switch is so that gnatmake does not use timestamps but checksums
# for dependencies (otherwise since we regenerate the files every time
# we also recompile every time)
gnatmake -q -g -m -Pdefault.gpr

# Run the executable
#    ./obj/library
#    valgrind --leak-check=full ./obj/library