mirror of https://github.com/citusdata/citus.git
17 lines
330 B
Bash
Executable File
17 lines
330 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -euxo pipefail
|
|
IFS=$'\n\t'
|
|
|
|
status=0
|
|
|
|
basedir="$(pwd)"
|
|
installdir="${basedir}/install-${PG_MAJOR}"
|
|
|
|
make install DESTDIR="${installdir}"
|
|
pushd "${installdir}"
|
|
find . -type f -print > "${basedir}/files.lst"
|
|
cat "${basedir}/files.lst"
|
|
tar cvf "${basedir}/install-${PG_MAJOR}.tar" $(cat "${basedir}/files.lst")
|
|
popd
|