mirror of
https://github.com/rhasspy/rhasspy.git
synced 2022-02-12 01:59:45 +03:00
15 lines
370 B
Bash
Executable File
15 lines
370 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -e
|
|
|
|
if [[ -z "$2" ]]; then
|
|
echo "Usage: install-precise.sh precise-engine.tar.gz output-dir/"
|
|
exit 1
|
|
fi
|
|
|
|
precise="$(realpath "$1")"
|
|
output="$(realpath "$2")"
|
|
|
|
mkdir -p "${output}/lib/precise"
|
|
tar -C "${output}/lib/precise" -xf "${precise}" --strip-components=1
|
|
ln -sf "${output}/lib/precise/precise-engine" "${output}/bin/precise-engine"
|