File: installcheck

package info (click to toggle)
postgresql-multicorn 1.4.0-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,244 kB
  • sloc: ansic: 3,324; python: 2,258; sql: 751; makefile: 259; sh: 81
file content (13 lines) | stat: -rwxr-xr-x 241 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

set -eu

export PYTHON_OVERRIDE=python3

PY3VER=$(python3 --version | sed -e 's/.* \([0-9]\.[0-9]\).*/\1/')
if ! test -e test-$PY3VER; then
	trap "rm -f test-$PY3VER" EXIT
	ln -s test-3.3 test-$PY3VER
fi

pg_buildext installcheck