/usr/bin/4ti2-graver is in 4ti2 1.6.7+ds-2.
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 22 23 24 | #!/bin/sh
prefix=/usr
PKGLIBDIR=${prefix}/lib/x86_64-linux-gnu/4ti2
# We locate where this script is so we can call the executable zsolve which
# should be in the same directory as this script.
SCRIPT=${0}
SCRIPTDIR=${SCRIPT%/*}
EXECUTABLE=4ti2-zsolve
for DIR in "$SCRIPTDIR" "$PKGLIBDIR/bin"; do
if [ -x "$DIR/$EXECUTABLE" ]; then break; fi
done
# Check if zsolve executable exists.
if [ ! -f "$DIR/$EXECUTABLE" ]
then
echo "Error: Unable to find the executable \`$EXECUTABLE'."
echo "Error: It should have been in the directory \`$DIR'."
exit 1
fi
exec $DIR/$EXECUTABLE -G $@
|