File: install.sh

package info (click to toggle)
eye 20.1027.2307~ds-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 16,180 kB
  • sloc: perl: 9,918; sh: 174; makefile: 16
file content (13 lines) | stat: -rwxr-xr-x 364 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash
# --------------------------
# installing EYE in /opt/eye
# --------------------------
SCRIPT_DIR=$( cd "$( dirname "$0" )" && pwd )
mkdir -p /opt/eye/src
cp -a $SCRIPT_DIR/eye.pl /opt/eye/src
mkdir -p /opt/eye/lib
pushd /opt/eye/lib
swipl -q -f ../src/eye.pl -g main -- --image eye.pvm
popd
mkdir -p /opt/eye/bin
cp -a $SCRIPT_DIR/eye.sh /opt/eye/bin