File: installcheck

package info (click to toggle)
postgresql-plsh 1.20140221-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 228 kB
  • ctags: 51
  • sloc: ansic: 556; sql: 136; makefile: 40; sh: 13
file content (18 lines) | stat: -rwxr-xr-x 340 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh

set -e
export QUILT_PATCHES=debian/patches

for v in $(pg_buildext supported-versions); do
	quilt push -a || test $? = 2
	case $v in
		8*|9.0)
			# fall back to the non-extension version
			quilt pop
			rm -f plsh.sql
			make plsh.sql PG_CONFIG=/usr/lib/postgresql/$v/bin/pg_config
			;;
	esac

	pg_buildext installcheck-$v
done