run_cli.sh 383 B

12345678910
  1. #!/bin/bash
  2. # Wrapper to run the tudor CLI in a proper pseudo-terminal with the library
  3. # paths set, so fingerprint enrollment/login commands work interactively.
  4. set -e
  5. BUILD="/home/nebulon/projects/fingerprint/work/synaTudor/build"
  6. DATASTORE="${1:-/home/nebulon/projects/fingerprint/work/debug/datastore.bin}"
  7. cd "$BUILD"
  8. exec script -qec "./cli/tudor_cli '$DATASTORE'" /dev/null