Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions SOURCES/data_encryption/makedencryption.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,14 @@
PGVERSION=$1
SPATH=$2

#use "gmake" command if installed
if [ ! -z "`which gmake`" ];
then
MAKE=gmake
else
MAKE=make
fi

cd $PGVERSION
CDIR=`pwd`

Expand All @@ -21,8 +29,8 @@ then
fi

#build data_encryption
make clean
make PGSQL_SRC_PATH=${SPATH}
${MAKE} clean
${MAKE} PGSQL_SRC_PATH=${SPATH}
mv data_encryption.so data_encryption${PGVERSION}.so
ldd data_encryption${PGVERSION}.so

Expand Down