From 0e39797dcd87ab5dc876dce5d39a2b50dd7d2cd4 Mon Sep 17 00:00:00 2001 From: Talha Bin Rizwan Date: Wed, 19 Jul 2017 16:32:28 +0500 Subject: [PATCH] Removing extra exit statements from build.sh for all active components: - ApacheHTTPD - Npgsql - PostGIS - Slony - UpdateMonitor - hdfs_fdw - languagepack - pgAgent - pgJDBC - pgbouncer - pgmemcache - psqlODBC - server - sqlprotect --- ApacheHTTPD/build.sh | 40 +++++++++++++++++------------------ Npgsql/build.sh | 32 ++++++++++++++-------------- PostGIS/build.sh | 36 +++++++++++++++---------------- Slony/build.sh | 38 ++++++++++++++++----------------- UpdateMonitor/build.sh | 36 +++++++++++++++---------------- hdfs_fdw/build.sh | 18 ++++++++-------- languagepack/build.sh | 48 +++++++++++++++++++++--------------------- pgAgent/build.sh | 32 ++++++++++++++-------------- pgJDBC/build.sh | 32 ++++++++++++++-------------- pgbouncer/build.sh | 44 +++++++++++++++++++------------------- pgmemcache/build.sh | 32 ++++++++++++++-------------- psqlODBC/build.sh | 38 ++++++++++++++++----------------- server/build.sh | 48 +++++++++++++++++++++--------------------- sqlprotect/build.sh | 30 +++++++++++++------------- 14 files changed, 252 insertions(+), 252 deletions(-) diff --git a/ApacheHTTPD/build.sh b/ApacheHTTPD/build.sh index 9d8f1fc74..9ea91cdb0 100755 --- a/ApacheHTTPD/build.sh +++ b/ApacheHTTPD/build.sh @@ -55,7 +55,7 @@ _prep_ApacheHTTPD() { rm -rf mod_wsgi-$PG_VERSION_WSGI || _die "Couldn't remove the existing mod_wsgi-$PG_VERSION_WSGI source directory (source/mod_wsgi-$PG_VERSION_WSGI)" fi - extract_file ../../tarballs/mod_wsgi-$PG_VERSION_WSGI || exit 1 + extract_file ../../tarballs/mod_wsgi-$PG_VERSION_WSGI echo "Unpacking apache source..." if [ $PG_ARCH_WINDOWS = 1 ]; @@ -63,19 +63,19 @@ _prep_ApacheHTTPD() { if [ -e apache.windows ]; then rm -rf apache.windows || _die "Couldn't remove the existing apache.windows source directory (source/apache.windows)" fi - extract_file ../../tarballs/httpd-$PG_VERSION_APACHE-win32-src || exit 1 - extract_file ../../tarballs/zlib-$PG_TARBALL_ZLIB || exit 1 - extract_file ../../tarballs/openssl-$PG_TARBALL_OPENSSL || exit 1 - extract_file ../../tarballs/pcre-836-win32-binaries || exit 1 - mv pcre-836-win32-binaries httpd-$PG_VERSION_APACHE/srclib/pcre || exit 1 + extract_file ../../tarballs/httpd-$PG_VERSION_APACHE-win32-src + extract_file ../../tarballs/zlib-$PG_TARBALL_ZLIB + extract_file ../../tarballs/openssl-$PG_TARBALL_OPENSSL + extract_file ../../tarballs/pcre-836-win32-binaries + mv pcre-836-win32-binaries httpd-$PG_VERSION_APACHE/srclib/pcre mv httpd-$PG_VERSION_APACHE apache.windows || _die "Couldn't move httpd-$PG_VERSION_APACHE as apache.windows" fi if [[ $PG_ARCH_LINUX = 1 || $PG_ARCH_LINUX_X64 = 1 || $PG_ARCH_OSX = 1 ]]; then - extract_file ../../tarballs/httpd-$PG_VERSION_APACHE || exit 1 - extract_file ../../tarballs/httpd-$PG_VERSION_APACHE-deps || exit 1 + extract_file ../../tarballs/httpd-$PG_VERSION_APACHE + extract_file ../../tarballs/httpd-$PG_VERSION_APACHE-deps fi # Per-platform prep @@ -84,25 +84,25 @@ _prep_ApacheHTTPD() { # Mac OS X if [ $PG_ARCH_OSX = 1 ]; then - _prep_ApacheHTTPD_osx || exit 1 + _prep_ApacheHTTPD_osx fi # Linux if [ $PG_ARCH_LINUX = 1 ]; then - _prep_ApacheHTTPD_linux || exit 1 + _prep_ApacheHTTPD_linux fi # Linux x64 if [ $PG_ARCH_LINUX_X64 = 1 ]; then - _prep_ApacheHTTPD_linux_x64 || exit 1 + _prep_ApacheHTTPD_linux_x64 fi # Windows if [ $PG_ARCH_WINDOWS = 1 ]; then - _prep_ApacheHTTPD_windows || exit 1 + _prep_ApacheHTTPD_windows fi } @@ -116,25 +116,25 @@ _build_ApacheHTTPD() { # Mac OSX if [ $PG_ARCH_OSX = 1 ]; then - _build_ApacheHTTPD_osx || exit 1 + _build_ApacheHTTPD_osx fi # Linux if [ $PG_ARCH_LINUX = 1 ]; then - _build_ApacheHTTPD_linux || exit 1 + _build_ApacheHTTPD_linux fi # Linux x64 if [ $PG_ARCH_LINUX_X64 = 1 ]; then - _build_ApacheHTTPD_linux_x64 || exit 1 + _build_ApacheHTTPD_linux_x64 fi # Windows if [ $PG_ARCH_WINDOWS = 1 ]; then - _build_ApacheHTTPD_windows || exit 1 + _build_ApacheHTTPD_windows fi } @@ -162,24 +162,24 @@ _postprocess_ApacheHTTPD() { # Mac OSX if [ $PG_ARCH_OSX = 1 ]; then - _postprocess_ApacheHTTPD_osx || exit 1 + _postprocess_ApacheHTTPD_osx fi # Linux if [ $PG_ARCH_LINUX = 1 ]; then - _postprocess_ApacheHTTPD_linux || exit 1 + _postprocess_ApacheHTTPD_linux fi # Linux x64 if [ $PG_ARCH_LINUX_X64 = 1 ]; then - _postprocess_ApacheHTTPD_linux_x64 || exit 1 + _postprocess_ApacheHTTPD_linux_x64 fi # Windows if [ $PG_ARCH_WINDOWS = 1 ]; then - _postprocess_ApacheHTTPD_windows || exit 1 + _postprocess_ApacheHTTPD_windows fi } diff --git a/Npgsql/build.sh b/Npgsql/build.sh index 40a795fe6..4df69c094 100644 --- a/Npgsql/build.sh +++ b/Npgsql/build.sh @@ -50,7 +50,7 @@ _prep_Npgsql() { echo "Unpacking Npgsql source..." cd $WD/Npgsql/source/ - extract_file ../../../tarballs/npgsql-"${PG_VERSION_NPGSQL}" || exit 1 + extract_file ../../../tarballs/npgsql-"${PG_VERSION_NPGSQL}" #Commenting patch as new version 3.0.5 is already present in the source code. #Npgsql-3.0.4 patch against VS 2013. @@ -63,31 +63,31 @@ _prep_Npgsql() { # Mac OS X if [ $PG_ARCH_OSX = 1 ]; then - _prep_Npgsql_osx || exit 1 + _prep_Npgsql_osx fi # Linux if [ $PG_ARCH_LINUX = 1 ]; then - _prep_Npgsql_linux || exit 1 + _prep_Npgsql_linux fi # Linux x64 if [ $PG_ARCH_LINUX_X64 = 1 ]; then - _prep_Npgsql_linux_x64 || exit 1 + _prep_Npgsql_linux_x64 fi # Linux ppc64 if [ $PG_ARCH_LINUX_PPC64 = 1 ]; then - _prep_Npgsql_linux_ppc64 || exit 1 + _prep_Npgsql_linux_ppc64 fi # Windows if [ $PG_ARCH_WINDOWS = 1 ]; then - _prep_Npgsql_windows || exit 1 + _prep_Npgsql_windows fi } @@ -101,31 +101,31 @@ _build_Npgsql() { # Mac OSX if [ $PG_ARCH_OSX = 1 ]; then - _build_Npgsql_osx || exit 1 + _build_Npgsql_osx fi # Linux if [ $PG_ARCH_LINUX = 1 ]; then - _build_Npgsql_linux || exit 1 + _build_Npgsql_linux fi # Linux x64 if [ $PG_ARCH_LINUX_X64 = 1 ]; then - _build_Npgsql_linux_x64 || exit 1 + _build_Npgsql_linux_x64 fi # Linux ppc64 if [ $PG_ARCH_LINUX_PPC64 = 1 ]; then - _build_Npgsql_linux_ppc64 || exit 1 + _build_Npgsql_linux_ppc64 fi # Windows if [ $PG_ARCH_WINDOWS = 1 ]; then - _build_Npgsql_windows || exit 1 + _build_Npgsql_windows fi } @@ -152,30 +152,30 @@ _postprocess_Npgsql() { # Mac OSX if [ $PG_ARCH_OSX = 1 ]; then - _postprocess_Npgsql_osx || exit 1 + _postprocess_Npgsql_osx fi # Linux if [ $PG_ARCH_LINUX = 1 ]; then - _postprocess_Npgsql_linux || exit 1 + _postprocess_Npgsql_linux fi # Linux x64 if [ $PG_ARCH_LINUX_X64 = 1 ]; then - _postprocess_Npgsql_linux_x64 || exit 1 + _postprocess_Npgsql_linux_x64 fi # Linux ppc64 if [ $PG_ARCH_LINUX_PPC64 = 1 ]; then - _postprocess_Npgsql_linux_ppc64 || exit 1 + _postprocess_Npgsql_linux_ppc64 fi # Windows if [ $PG_ARCH_WINDOWS = 1 ]; then - _postprocess_Npgsql_windows || exit 1 + _postprocess_Npgsql_windows fi } diff --git a/PostGIS/build.sh b/PostGIS/build.sh index 233c68900..b788bd577 100644 --- a/PostGIS/build.sh +++ b/PostGIS/build.sh @@ -58,10 +58,10 @@ _prep_PostGIS() { fi echo "Unpacking postgis source..." - extract_file ../../tarballs/postgis-$PG_VERSION_POSTGIS || exit 1 + extract_file ../../tarballs/postgis-$PG_VERSION_POSTGIS echo "Extracting the postgis-java source..." - extract_file ../../tarballs/postgis-java-$PG_VERSION_POSTGIS_JAVA || exit 1 + extract_file ../../tarballs/postgis-java-$PG_VERSION_POSTGIS_JAVA mv postgis-java-$PG_VERSION_POSTGIS_JAVA postgis-$PG_VERSION_POSTGIS/java/ echo "Applying patches..." @@ -71,7 +71,7 @@ _prep_PostGIS() { cd $WD/PostGIS/source echo "Extracting the postgresql jar file..." - extract_file ../../tarballs/pgJDBC-$PG_VERSION_PGJDBC || exit 1 + extract_file ../../tarballs/pgJDBC-$PG_VERSION_PGJDBC mv pgJDBC-$PG_VERSION_PGJDBC/*.jar . # Per-platform prep @@ -80,32 +80,32 @@ _prep_PostGIS() { # Mac OS X if [ $PG_ARCH_OSX = 1 ]; then - _prep_PostGIS_osx || exit 1 + _prep_PostGIS_osx fi # Linux if [ $PG_ARCH_LINUX = 1 ]; then - _prep_PostGIS_linux || exit 1 + _prep_PostGIS_linux fi # Linux x64 if [ $PG_ARCH_LINUX_X64 = 1 ]; then - _prep_PostGIS_linux_x64 || exit 1 + _prep_PostGIS_linux_x64 fi # Linux ppc64 if [ $PG_ARCH_LINUX_PPC64 = 1 ]; then - #_prep_PostGIS_linux_ppc64 || exit 1 + #_prep_PostGIS_linux_ppc64 echo "Linux-PPC64 build pre-process is not part of build framework yet." fi # Windows if [ $PG_ARCH_WINDOWS = 1 ]; then - #_prep_PostGIS_windows || exit 1 + #_prep_PostGIS_windows echo "PostGIS:Disabled for now:windows" fi @@ -120,32 +120,32 @@ _build_PostGIS() { # Mac OSX if [ $PG_ARCH_OSX = 1 ]; then - _build_PostGIS_osx || exit 1 + _build_PostGIS_osx fi # Linux if [ $PG_ARCH_LINUX = 1 ]; then - _build_PostGIS_linux || exit 1 + _build_PostGIS_linux fi # Linux x64 if [ $PG_ARCH_LINUX_X64 = 1 ]; then - _build_PostGIS_linux_x64 || exit 1 + _build_PostGIS_linux_x64 fi # Linux ppc64 if [ $PG_ARCH_LINUX_PPC64 = 1 ]; then - #_build_PostGIS_linux_ppc64 || exit 1 + #_build_PostGIS_linux_ppc64 echo "Linux-PPC64 build process is not part of build framework yet." fi # Windows if [ $PG_ARCH_WINDOWS = 1 ]; then - #_build_PostGIS_windows || exit 1 + #_build_PostGIS_windows echo "PostGIS:Disabled for now:windows" fi } @@ -184,31 +184,31 @@ _postprocess_PostGIS() { # Mac OSX if [ $PG_ARCH_OSX = 1 ]; then - _postprocess_PostGIS_osx || exit 1 + _postprocess_PostGIS_osx fi # Linux if [ $PG_ARCH_LINUX = 1 ]; then - _postprocess_PostGIS_linux || exit 1 + _postprocess_PostGIS_linux fi # Linux x64 if [ $PG_ARCH_LINUX_X64 = 1 ]; then - _postprocess_PostGIS_linux_x64 || exit 1 + _postprocess_PostGIS_linux_x64 fi # Linux ppc64 if [ $PG_ARCH_LINUX_PPC64 = 1 ]; then - _postprocess_PostGIS_linux_ppc64 || exit 1 + _postprocess_PostGIS_linux_ppc64 fi # Windows if [ $PG_ARCH_WINDOWS = 1 ]; then - #_postprocess_PostGIS_windows || exit 1 + #_postprocess_PostGIS_windows echo "PostGIS:Disabled for now:windows" fi } diff --git a/Slony/build.sh b/Slony/build.sh index f042f0c86..33402da32 100755 --- a/Slony/build.sh +++ b/Slony/build.sh @@ -62,7 +62,7 @@ _prep_Slony() { fi echo "Unpacking SLONY source..." - extract_file $WD/tarballs/slony1-$PG_VERSION_SLONY || exit 1 + extract_file $WD/tarballs/slony1-$PG_VERSION_SLONY #Slony1-2.2.3 patch against PG9.4 cd slony1-$PG_VERSION_SLONY @@ -75,38 +75,38 @@ _prep_Slony() { # Mac OS X if [ $PG_ARCH_OSX = 1 ]; then - _prep_Slony_osx || exit 1 + _prep_Slony_osx fi # Linux if [ $PG_ARCH_LINUX = 1 ]; then - _prep_Slony_linux || exit 1 + _prep_Slony_linux fi # Linux x64 if [ $PG_ARCH_LINUX_X64 = 1 ]; then - _prep_Slony_linux_x64 || exit 1 + _prep_Slony_linux_x64 fi # Linux ppc64 if [ $PG_ARCH_LINUX_PPC64 = 1 ]; then - #_prep_Slony_linux_ppc64 || exit 1 + #_prep_Slony_linux_ppc64 echo "Linux-PPC64 build pre-process is not part of build framework yet." fi # Windows if [ $PG_ARCH_WINDOWS = 1 ]; then - _prep_Slony_windows || exit 1 + _prep_Slony_windows fi # Windows x64 if [ $PG_ARCH_WINDOWS_X64 = 1 ]; then - _prep_Slony_windows_x64 || exit 1 + _prep_Slony_windows_x64 fi } @@ -120,38 +120,38 @@ _build_Slony() { # Mac OSX if [ $PG_ARCH_OSX = 1 ]; then - _build_Slony_osx || exit 1 + _build_Slony_osx fi # Linux if [ $PG_ARCH_LINUX = 1 ]; then - _build_Slony_linux || exit 1 + _build_Slony_linux fi # Linux x64 if [ $PG_ARCH_LINUX_X64 = 1 ]; then - _build_Slony_linux_x64 || exit 1 + _build_Slony_linux_x64 fi # Linux ppc64 if [ $PG_ARCH_LINUX_PPC64 = 1 ]; then - #_build_Slony_linux_ppc64 || exit 1 + #_build_Slony_linux_ppc64 echo "Linux-PPC64 build process is not part of build framework yet." fi # Windows if [ $PG_ARCH_WINDOWS = 1 ]; then - _build_Slony_windows || exit 1 + _build_Slony_windows fi # Windows x64 if [ $PG_ARCH_WINDOWS_X64 = 1 ]; then - _build_Slony_windows_x64 || exit 1 + _build_Slony_windows_x64 fi } @@ -186,37 +186,37 @@ _postprocess_Slony() { # Mac OSX if [ $PG_ARCH_OSX = 1 ]; then - _postprocess_Slony_osx || exit 1 + _postprocess_Slony_osx fi # Linux if [ $PG_ARCH_LINUX = 1 ]; then - _postprocess_Slony_linux || exit 1 + _postprocess_Slony_linux fi # Linux x64 if [ $PG_ARCH_LINUX_X64 = 1 ]; then - _postprocess_Slony_linux_x64 || exit 1 + _postprocess_Slony_linux_x64 fi # Linux ppc64 if [ $PG_ARCH_LINUX_PPC64 = 1 ]; then - _postprocess_Slony_linux_ppc64 || exit 1 + _postprocess_Slony_linux_ppc64 fi # Windows if [ $PG_ARCH_WINDOWS = 1 ]; then - _postprocess_Slony_windows || exit 1 + _postprocess_Slony_windows fi # Windows x64 if [ $PG_ARCH_WINDOWS_X64 = 1 ]; then - _postprocess_Slony_windows_x64 || exit 1 + _postprocess_Slony_windows_x64 fi } diff --git a/UpdateMonitor/build.sh b/UpdateMonitor/build.sh index 518f18076..781bb1554 100644 --- a/UpdateMonitor/build.sh +++ b/UpdateMonitor/build.sh @@ -71,37 +71,37 @@ _prep_updatemonitor() { # Mac OS X if [ $PG_ARCH_OSX = 1 ]; then - _prep_updatemonitor_osx || exit 1 + _prep_updatemonitor_osx fi # Linux if [ $PG_ARCH_LINUX = 1 ]; then - _prep_updatemonitor_linux || exit 1 + _prep_updatemonitor_linux fi # Linux x64 if [ $PG_ARCH_LINUX_X64 = 1 ]; then - _prep_updatemonitor_linux_x64 || exit 1 + _prep_updatemonitor_linux_x64 fi # Windows if [ $PG_ARCH_WINDOWS = 1 ]; then - _prep_updatemonitor_windows || exit 1 + _prep_updatemonitor_windows fi # Solaris x64 if [ $PG_ARCH_SOLARIS_X64 = 1 ]; then - _prep_updatemonitor_solaris_x64 || exit 1 + _prep_updatemonitor_solaris_x64 fi # # Solaris sparc # if [ $PG_ARCH_SOLARIS_SPARC = 1 ]; # then -# _prep_updatemonitor_solaris_sparc || exit 1 +# _prep_updatemonitor_solaris_sparc # fi } @@ -115,37 +115,37 @@ _build_updatemonitor() { # Mac OSX if [ $PG_ARCH_OSX = 1 ]; then - _build_updatemonitor_osx || exit 1 + _build_updatemonitor_osx fi # Linux if [ $PG_ARCH_LINUX = 1 ]; then - _build_updatemonitor_linux || exit 1 + _build_updatemonitor_linux fi # Linux x64 if [ $PG_ARCH_LINUX_X64 = 1 ]; then - _build_updatemonitor_linux_x64 || exit 1 + _build_updatemonitor_linux_x64 fi # Windows if [ $PG_ARCH_WINDOWS = 1 ]; then - _build_updatemonitor_windows || exit 1 + _build_updatemonitor_windows fi # Solaris x64 if [ $PG_ARCH_SOLARIS_X64 = 1 ]; then - _build_updatemonitor_solaris_x64 || exit 1 + _build_updatemonitor_solaris_x64 fi # # Solaris sparc # if [ $PG_ARCH_SOLARIS_SPARC = 1 ]; # then -# _build_updatemonitor_solaris_sparc || exit 1 +# _build_updatemonitor_solaris_sparc # fi } @@ -179,37 +179,37 @@ _postprocess_updatemonitor() { # Mac OSX if [ $PG_ARCH_OSX = 1 ]; then - _postprocess_updatemonitor_osx || exit 1 + _postprocess_updatemonitor_osx fi # Linux if [ $PG_ARCH_LINUX = 1 ]; then - _postprocess_updatemonitor_linux || exit 1 + _postprocess_updatemonitor_linux fi # Linux x64 if [ $PG_ARCH_LINUX_X64 = 1 ]; then - _postprocess_updatemonitor_linux_x64 || exit 1 + _postprocess_updatemonitor_linux_x64 fi # Windows if [ $PG_ARCH_WINDOWS = 1 ]; then - _postprocess_updatemonitor_windows || exit 1 + _postprocess_updatemonitor_windows fi # Solaris x64 if [ $PG_ARCH_SOLARIS_X64 = 1 ]; then - _postprocess_updatemonitor_solaris_x64 || exit 1 + _postprocess_updatemonitor_solaris_x64 fi # # Solaris sparc # if [ $PG_ARCH_SOLARIS_SPARC = 1 ]; # then -# _postprocess_updatemonitor_solaris_sparc || exit 1 +# _postprocess_updatemonitor_solaris_sparc # fi cd $WD diff --git a/hdfs_fdw/build.sh b/hdfs_fdw/build.sh index 5a3bd661b..09fb921bc 100755 --- a/hdfs_fdw/build.sh +++ b/hdfs_fdw/build.sh @@ -83,20 +83,20 @@ _prep_hdfs_fdw() { if [ $PG_ARCH_OSX = 1 ]; then echo "OS X not supported" - #_prep_hdfs_fdw_osx || exit 1 + #_prep_hdfs_fdw_osx fi # Linux if [ $PG_ARCH_LINUX = 1 ]; then echo "Linux 32bit not supported" - #_prep_hdfs_fdw_linux || exit 1 + #_prep_hdfs_fdw_linux fi # Linux x64 if [ $PG_ARCH_LINUX_X64 = 1 ]; then - _prep_hdfs_fdw_linux_x64 || exit 1 + _prep_hdfs_fdw_linux_x64 fi # Windows @@ -109,7 +109,7 @@ _prep_hdfs_fdw() { if [ $PG_ARCH_WINDOWS_X64 = 1 ]; then echo "Yet to add support for Win64" - # _prep_hdfs_fdw_windows_x64 || exit 1 + # _prep_hdfs_fdw_windows_x64 fi } @@ -123,7 +123,7 @@ _build_hdfs_fdw() { if [ $PG_ARCH_OSX = 1 ]; then echo "OS X not supported" - #_build_hdfs_fdw_osx || exit 1 + #_build_hdfs_fdw_osx fi # Linux @@ -135,7 +135,7 @@ _build_hdfs_fdw() { # Linux x64 if [ $PG_ARCH_LINUX_X64 = 1 ]; then - _build_hdfs_fdw_linux_x64 || exit 1 + _build_hdfs_fdw_linux_x64 fi # Windows @@ -148,7 +148,7 @@ _build_hdfs_fdw() { if [ $PG_ARCH_WINDOWS_X64 = 1 ]; then echo "Yet to add support for Win64" - #_build_hdfs_fdw_windows_x64 || exit 1 + #_build_hdfs_fdw_windows_x64 fi } @@ -199,7 +199,7 @@ _postprocess_hdfs_fdw() { # Linux x64 if [ $PG_ARCH_LINUX_X64 = 1 ]; then - _postprocess_hdfs_fdw_linux_x64 || exit 1 + _postprocess_hdfs_fdw_linux_x64 fi # Windows @@ -212,6 +212,6 @@ _postprocess_hdfs_fdw() { if [ $PG_ARCH_WINDOWS_X64 = 1 ]; then echo "Yet to add support for Win64" - #_postprocess_hdfs_fdw_windows_x64 || exit 1 + #_postprocess_hdfs_fdw_windows_x64 fi } diff --git a/languagepack/build.sh b/languagepack/build.sh index 594d6f4ae..bbc5ee4ec 100644 --- a/languagepack/build.sh +++ b/languagepack/build.sh @@ -68,49 +68,49 @@ _prep_languagepack() { # Mac OS X if [ $PG_ARCH_OSX = 1 ]; then - _prep_languagepack_osx || exit 1 + _prep_languagepack_osx fi # Linux if [ $PG_ARCH_LINUX = 1 ]; then - _prep_languagepack_linux || exit 1 + _prep_languagepack_linux fi # Linux x64 if [ $PG_ARCH_LINUX_X64 = 1 ]; then - _prep_languagepack_linux_x64 || exit 1 + _prep_languagepack_linux_x64 fi # Windows if [ $PG_ARCH_WINDOWS = 1 ]; then - _prep_languagepack_windows x32 || exit 1 + _prep_languagepack_windows x32 fi # Windows -- It will remain 32 bit installer for Windows-x64 but it will take binaries from 64 bit distro. if [ $PG_ARCH_WINDOWS_X64 = 1 ]; then - _prep_languagepack_windows x64 || exit 1 + _prep_languagepack_windows x64 fi # Solaris Intel if [ $PG_ARCH_SOLARIS_X64 = 1 ]; then - _prep_languagepack_solaris intel || exit 1 + _prep_languagepack_solaris intel fi # Solaris Sparc if [ $PG_ARCH_SOLARIS_SPARC = 1 ]; then - _prep_languagepack_solaris sparc || exit 1 + _prep_languagepack_solaris sparc fi # HPUX if [ $PG_ARCH_HPUX = 1 ]; then - _prep_languagepack_hpux || exit 1 + _prep_languagepack_hpux fi } @@ -123,49 +123,49 @@ _build_languagepack() { # Mac OSX if [ $PG_ARCH_OSX = 1 ]; then - _build_languagepack_osx || exit 1 + _build_languagepack_osx fi # Linux if [ $PG_ARCH_LINUX = 1 ]; then - _build_languagepack_linux || exit 1 + _build_languagepack_linux fi # Linux x64 if [ $PG_ARCH_LINUX_X64 = 1 ]; then - _build_languagepack_linux_x64 || exit 1 + _build_languagepack_linux_x64 fi # Windows if [ $PG_ARCH_WINDOWS = 1 ]; then - _build_languagepack_windows x32 || exit 1 + _build_languagepack_windows x32 fi # Windows -- It will remain 32 bit installer for Windows-x64 but it will take binaries from 64 bit distro. if [ $PG_ARCH_WINDOWS_X64 = 1 ]; then - _build_languagepack_windows x64 || exit 1 + _build_languagepack_windows x64 fi # Solaris Intel if [ $PG_ARCH_SOLARIS_X64 = 1 ]; then - _build_languagepack_solaris intel || exit 1 + _build_languagepack_solaris intel fi # Solaris Sparc if [ $PG_ARCH_SOLARIS_SPARC = 1 ]; then - _build_languagepack_solaris sparc || exit 1 + _build_languagepack_solaris sparc fi # HPUX if [ $PG_ARCH_HPUX = 1 ]; then - _build_languagepack_hpux || exit 1 + _build_languagepack_hpux fi } @@ -198,48 +198,48 @@ _postprocess_languagepack() { # Mac OSX if [ $PG_ARCH_OSX = 1 ]; then - _postprocess_languagepack_osx || exit 1 + _postprocess_languagepack_osx fi # Linux if [ $PG_ARCH_LINUX = 1 ]; then - _postprocess_languagepack_linux || exit 1 + _postprocess_languagepack_linux fi # Linux x64 if [ $PG_ARCH_LINUX_X64 = 1 ]; then - _postprocess_languagepack_linux_x64 || exit 1 + _postprocess_languagepack_linux_x64 fi # Windows if [ $PG_ARCH_WINDOWS = 1 ]; then - _postprocess_languagepack_windows x32 || exit 1 + _postprocess_languagepack_windows x32 fi # Windows --It will remain 32 bit installer for Windows-x64 but it will take binaries from 64 bit distro. if [ $PG_ARCH_WINDOWS_X64 = 1 ]; then - _postprocess_languagepack_windows x64 || exit 1 + _postprocess_languagepack_windows x64 fi # Solaris Intel if [ $PG_ARCH_SOLARIS_X64 = 1 ]; then - _postprocess_languagepack_solaris intel || exit 1 + _postprocess_languagepack_solaris intel fi # Solaris Sparc if [ $PG_ARCH_SOLARIS_SPARC = 1 ]; then - _postprocess_languagepack_solaris sparc || exit 1 + _postprocess_languagepack_solaris sparc fi # HPUX if [ $PG_ARCH_HPUX = 1 ]; then - _postprocess_languagepack_hpux || exit 1 + _postprocess_languagepack_hpux fi } diff --git a/pgAgent/build.sh b/pgAgent/build.sh index ca74b6334..dd0047811 100644 --- a/pgAgent/build.sh +++ b/pgAgent/build.sh @@ -55,7 +55,7 @@ _prep_pgAgent() { fi echo "Unpacking pgAgent source..." - extract_file ../../tarballs/pgAgent-$PG_VERSION_PGAGENT-Source || exit 1 + extract_file ../../tarballs/pgAgent-$PG_VERSION_PGAGENT-Source cd pgAgent-$PG_VERSION_PGAGENT-Source #patch -p1 < $WD/tarballs/pgAgent-Lion.patch # This is not required to build pgAgent3.3.0. Hence, commenting this. @@ -65,32 +65,32 @@ _prep_pgAgent() { # Mac OS X if [ $PG_ARCH_OSX = 1 ]; then - _prep_pgAgent_osx || exit 1 + _prep_pgAgent_osx fi # Linux if [ $PG_ARCH_LINUX = 1 ]; then - _prep_pgAgent_linux || exit 1 + _prep_pgAgent_linux fi # Linux x64 if [ $PG_ARCH_LINUX_X64 = 1 ]; then - _prep_pgAgent_linux_x64 || exit 1 + _prep_pgAgent_linux_x64 fi # Linux ppc64 if [ $PG_ARCH_LINUX_PPC64 = 1 ]; then - #_prep_pgAgent_linux_ppc64 || exit 1 + #_prep_pgAgent_linux_ppc64 echo "Linux-PPC64 build pre-process is not part of build framework yet." fi # Windows if [ $PG_ARCH_WINDOWS = 1 ]; then - _prep_pgAgent_windows || exit 1 + _prep_pgAgent_windows fi } @@ -104,32 +104,32 @@ _build_pgAgent() { # Mac OSX if [ $PG_ARCH_OSX = 1 ]; then - _build_pgAgent_osx || exit 1 + _build_pgAgent_osx fi # Linux if [ $PG_ARCH_LINUX = 1 ]; then - _build_pgAgent_linux || exit 1 + _build_pgAgent_linux fi # Linux x64 if [ $PG_ARCH_LINUX_X64 = 1 ]; then - _build_pgAgent_linux_x64 || exit 1 + _build_pgAgent_linux_x64 fi # Linux ppc64 if [ $PG_ARCH_LINUX_PPC64 = 1 ]; then - #_build_pgAgent_linux_ppc64 || exit 1 + #_build_pgAgent_linux_ppc64 echo "Linux-PPC64 build process is not part of build framework yet." fi # Windows if [ $PG_ARCH_WINDOWS = 1 ]; then - _build_pgAgent_windows || exit 1 + _build_pgAgent_windows fi } @@ -158,30 +158,30 @@ _postprocess_pgAgent() { # Mac OSX if [ $PG_ARCH_OSX = 1 ]; then - _postprocess_pgAgent_osx || exit 1 + _postprocess_pgAgent_osx fi # Linux if [ $PG_ARCH_LINUX = 1 ]; then - _postprocess_pgAgent_linux || exit 1 + _postprocess_pgAgent_linux fi # Linux x64 if [ $PG_ARCH_LINUX_X64 = 1 ]; then - _postprocess_pgAgent_linux_x64 || exit 1 + _postprocess_pgAgent_linux_x64 fi # Linux ppc64 if [ $PG_ARCH_LINUX_PPC64 = 1 ]; then - _postprocess_pgAgent_linux_ppc64 || exit 1 + _postprocess_pgAgent_linux_ppc64 fi # Windows if [ $PG_ARCH_WINDOWS = 1 ]; then - _postprocess_pgAgent_windows || exit 1 + _postprocess_pgAgent_windows fi } diff --git a/pgJDBC/build.sh b/pgJDBC/build.sh index a854a5b61..e41ed9099 100644 --- a/pgJDBC/build.sh +++ b/pgJDBC/build.sh @@ -55,7 +55,7 @@ _prep_pgJDBC() { fi echo "Unpacking pgJDBC source..." - extract_file ../../tarballs/pgJDBC-$PG_VERSION_PGJDBC || exit 1 + extract_file ../../tarballs/pgJDBC-$PG_VERSION_PGJDBC # Per-platform prep cd $WD @@ -63,31 +63,31 @@ _prep_pgJDBC() { # Mac OS X if [ $PG_ARCH_OSX = 1 ]; then - _prep_pgJDBC_osx || exit 1 + _prep_pgJDBC_osx fi # Linux if [ $PG_ARCH_LINUX = 1 ]; then - _prep_pgJDBC_linux || exit 1 + _prep_pgJDBC_linux fi # Linux x64 if [ $PG_ARCH_LINUX_X64 = 1 ]; then - _prep_pgJDBC_linux_x64 || exit 1 + _prep_pgJDBC_linux_x64 fi # Linux ppc64 if [ $PG_ARCH_LINUX_PPC64 = 1 ]; then - _prep_pgJDBC_linux_ppc64 || exit 1 + _prep_pgJDBC_linux_ppc64 fi # Windows if [ $PG_ARCH_WINDOWS = 1 ]; then - _prep_pgJDBC_windows || exit 1 + _prep_pgJDBC_windows fi } @@ -101,31 +101,31 @@ _build_pgJDBC() { # Mac OSX if [ $PG_ARCH_OSX = 1 ]; then - _build_pgJDBC_osx || exit 1 + _build_pgJDBC_osx fi # Linux if [ $PG_ARCH_LINUX = 1 ]; then - _build_pgJDBC_linux || exit 1 + _build_pgJDBC_linux fi # Linux x64 if [ $PG_ARCH_LINUX_X64 = 1 ]; then - _build_pgJDBC_linux_x64 || exit 1 + _build_pgJDBC_linux_x64 fi # Linux ppc64 if [ $PG_ARCH_LINUX_PPC64 = 1 ]; then - _build_pgJDBC_linux_ppc64 || exit 1 + _build_pgJDBC_linux_ppc64 fi # Windows if [ $PG_ARCH_WINDOWS = 1 ]; then - _build_pgJDBC_windows || exit 1 + _build_pgJDBC_windows fi } @@ -153,30 +153,30 @@ _postprocess_pgJDBC() { # Mac OSX if [ $PG_ARCH_OSX = 1 ]; then - _postprocess_pgJDBC_osx || exit 1 + _postprocess_pgJDBC_osx fi # Linux if [ $PG_ARCH_LINUX = 1 ]; then - _postprocess_pgJDBC_linux || exit 1 + _postprocess_pgJDBC_linux fi # Linux x64 if [ $PG_ARCH_LINUX_X64 = 1 ]; then - _postprocess_pgJDBC_linux_x64 || exit 1 + _postprocess_pgJDBC_linux_x64 fi # Linux ppc64 if [ $PG_ARCH_LINUX_PPC64 = 1 ]; then - _postprocess_pgJDBC_linux_ppc64 || exit 1 + _postprocess_pgJDBC_linux_ppc64 fi # Windows if [ $PG_ARCH_WINDOWS = 1 ]; then - _postprocess_pgJDBC_windows || exit 1 + _postprocess_pgJDBC_windows fi } diff --git a/pgbouncer/build.sh b/pgbouncer/build.sh index 2f87a6495..2efc58abc 100644 --- a/pgbouncer/build.sh +++ b/pgbouncer/build.sh @@ -67,7 +67,7 @@ _prep_pgbouncer() { fi echo "Unpacking pgbouncer source..." - extract_file ../../tarballs/pgbouncer-$PG_VERSION_PGBOUNCER || exit 1 + extract_file ../../tarballs/pgbouncer-$PG_VERSION_PGBOUNCER cd $WD/pgbouncer/source/pgbouncer-$PG_VERSION_PGBOUNCER patch -p0 < $WD/tarballs/pgbouncer-1.7-configure.patch @@ -78,44 +78,44 @@ _prep_pgbouncer() { # Mac OS X if [ $PG_ARCH_OSX = 1 ]; then - _prep_pgbouncer_osx || exit 1 + _prep_pgbouncer_osx fi # Linux if [ $PG_ARCH_LINUX = 1 ]; then - _prep_pgbouncer_linux || exit 1 + _prep_pgbouncer_linux fi # Linux x64 if [ $PG_ARCH_LINUX_X64 = 1 ]; then - _prep_pgbouncer_linux_x64 || exit 1 + _prep_pgbouncer_linux_x64 fi # Linux ppc64 if [ $PG_ARCH_LINUX_PPC64 = 1 ]; then - #_prep_pgbouncer_linux_ppc64 || exit 1 + #_prep_pgbouncer_linux_ppc64 echo "Linux-PPC64 build pre-process is not part of build framework yet." fi # Windows if [ $PG_ARCH_WINDOWS = 1 ]; then - _prep_pgbouncer_windows || exit 1 + _prep_pgbouncer_windows fi # Solaris x64 if [ $PG_ARCH_SOLARIS_X64 = 1 ]; then - _prep_pgbouncer_solaris_x64 || exit 1 + _prep_pgbouncer_solaris_x64 fi # # Solaris sparc # if [ $PG_ARCH_SOLARIS_SPARC = 1 ]; # then -# _prep_pgbouncer_solaris_sparc || exit 1 +# _prep_pgbouncer_solaris_sparc # fi } @@ -128,44 +128,44 @@ _build_pgbouncer() { # Mac OSX if [ $PG_ARCH_OSX = 1 ]; then - _build_pgbouncer_osx || exit 1 + _build_pgbouncer_osx fi # Linux if [ $PG_ARCH_LINUX = 1 ]; then - _build_pgbouncer_linux || exit 1 + _build_pgbouncer_linux fi # Linux x64 if [ $PG_ARCH_LINUX_X64 = 1 ]; then - _build_pgbouncer_linux_x64 || exit 1 + _build_pgbouncer_linux_x64 fi # Linux ppc64 if [ $PG_ARCH_LINUX_PPC64 = 1 ]; then - #_build_pgbouncer_linux_ppc64 || exit 1 + #_build_pgbouncer_linux_ppc64 echo "Linux-PPC64 build process is not part of build framework yet." fi # Windows if [ $PG_ARCH_WINDOWS = 1 ]; then - _build_pgbouncer_windows || exit 1 + _build_pgbouncer_windows fi # Solaris x64 if [ $PG_ARCH_SOLARIS_X64 = 1 ]; then - _build_pgbouncer_solaris_x64 || exit 1 + _build_pgbouncer_solaris_x64 fi # Solaris sparc # if [ $PG_ARCH_SOLARIS_SPARC = 1 ]; # then -# _build_pgbouncer_solaris_sparc || exit 1 +# _build_pgbouncer_solaris_sparc # fi } @@ -194,42 +194,42 @@ _postprocess_pgbouncer() { # Mac OSX if [ $PG_ARCH_OSX = 1 ]; then - _postprocess_pgbouncer_osx || exit 1 + _postprocess_pgbouncer_osx fi # Linux if [ $PG_ARCH_LINUX = 1 ]; then - _postprocess_pgbouncer_linux || exit 1 + _postprocess_pgbouncer_linux fi # Linux x64 if [ $PG_ARCH_LINUX_X64 = 1 ]; then - _postprocess_pgbouncer_linux_x64 || exit 1 + _postprocess_pgbouncer_linux_x64 fi # Linux ppc64 if [ $PG_ARCH_LINUX_PPC64 = 1 ]; then - _postprocess_pgbouncer_linux_ppc64 || exit 1 + _postprocess_pgbouncer_linux_ppc64 fi # Windows if [ $PG_ARCH_WINDOWS = 1 ]; then - _postprocess_pgbouncer_windows || exit 1 + _postprocess_pgbouncer_windows fi # Solaris x64 if [ $PG_ARCH_SOLARIS_X64 = 1 ]; then - _postprocess_pgbouncer_solaris_x64 || exit 1 + _postprocess_pgbouncer_solaris_x64 fi # # Solaris sparc # if [ $PG_ARCH_SOLARIS_SPARC = 1 ]; # then -# _postprocess_pgbouncer_solaris_sparc || exit 1 +# _postprocess_pgbouncer_solaris_sparc # fi } diff --git a/pgmemcache/build.sh b/pgmemcache/build.sh index 4a4949a01..93229e552 100755 --- a/pgmemcache/build.sh +++ b/pgmemcache/build.sh @@ -56,7 +56,7 @@ _prep_pgmemcache() { cd $WD/pgmemcache/source echo "Unpacking pgmemcache source..." - extract_file ../../tarballs/pgmemcache_$PG_VERSION_PGMEMCACHE || exit 1 + extract_file ../../tarballs/pgmemcache_$PG_VERSION_PGMEMCACHE #cd $WD/pgmemcache/source/pgmemcache #patch -p1 < $WD/tarballs/pgmemcache-libmemcached-1.0.8.patch @@ -68,32 +68,32 @@ _prep_pgmemcache() { # Mac OS X if [ $PG_ARCH_OSX = 1 ]; then - _prep_pgmemcache_osx || exit 1 + _prep_pgmemcache_osx fi # Linux if [ $PG_ARCH_LINUX = 1 ]; then - _prep_pgmemcache_linux || exit 1 + _prep_pgmemcache_linux fi # Linux x64 if [ $PG_ARCH_LINUX_X64 = 1 ]; then - _prep_pgmemcache_linux_x64 || exit 1 + _prep_pgmemcache_linux_x64 fi # Linux ppc64 if [ $PG_ARCH_LINUX_PPC64 = 1 ]; then - #_prep_pgmemcache_linux_ppc64 || exit 1 + #_prep_pgmemcache_linux_ppc64 echo "Linux-PPC64 build pre-process is not part of build framework yet." fi # Windows if [ $PG_ARCH_WINDOWS = 1 ]; then - #_prep_pgmemcache_windows || exit 1 + #_prep_pgmemcache_windows echo "Not Applicable" fi @@ -108,32 +108,32 @@ _build_pgmemcache() { # Mac OSX if [ $PG_ARCH_OSX = 1 ]; then - _build_pgmemcache_osx || exit 1 + _build_pgmemcache_osx fi # Linux if [ $PG_ARCH_LINUX = 1 ]; then - _build_pgmemcache_linux || exit 1 + _build_pgmemcache_linux fi # Linux x64 if [ $PG_ARCH_LINUX_X64 = 1 ]; then - _build_pgmemcache_linux_x64 || exit 1 + _build_pgmemcache_linux_x64 fi # Linux ppc64 if [ $PG_ARCH_LINUX_PPC64 = 1 ]; then - #_build_pgmemcache_linux_ppc64 || exit 1 + #_build_pgmemcache_linux_ppc64 echo "Linux-PPC64 build process is not part of build framework yet." fi # Windows if [ $PG_ARCH_WINDOWS = 1 ]; then - #_build_pgmemcache_windows || exit 1 + #_build_pgmemcache_windows echo "Not Applicable" fi } @@ -168,31 +168,31 @@ _postprocess_pgmemcache() { # Mac OSX if [ $PG_ARCH_OSX = 1 ]; then - _postprocess_pgmemcache_osx || exit 1 + _postprocess_pgmemcache_osx fi # Linux if [ $PG_ARCH_LINUX = 1 ]; then - _postprocess_pgmemcache_linux || exit 1 + _postprocess_pgmemcache_linux fi # Linux x64 if [ $PG_ARCH_LINUX_X64 = 1 ]; then - _postprocess_pgmemcache_linux_x64 || exit 1 + _postprocess_pgmemcache_linux_x64 fi # Linux ppc64 if [ $PG_ARCH_LINUX_PPC64 = 1 ]; then - _postprocess_pgmemcache_linux_ppc64 || exit 1 + _postprocess_pgmemcache_linux_ppc64 fi # Windows if [ $PG_ARCH_WINDOWS = 1 ]; then - #_postprocess_pgmemcache_windows || exit 1 + #_postprocess_pgmemcache_windows echo "Not Applicable" fi } diff --git a/psqlODBC/build.sh b/psqlODBC/build.sh index 466c7ffa9..1c9ee7b75 100644 --- a/psqlODBC/build.sh +++ b/psqlODBC/build.sh @@ -61,7 +61,7 @@ _prep_psqlODBC() { fi echo "Unpacking psqlODBC source..." - extract_file ../../tarballs/psqlodbc-$PG_VERSION_PSQLODBC || exit 1 + extract_file ../../tarballs/psqlodbc-$PG_VERSION_PSQLODBC # Per-platform prep cd $WD @@ -69,38 +69,38 @@ _prep_psqlODBC() { # Mac OS X if [ $PG_ARCH_OSX = 1 ]; then - _prep_psqlODBC_osx || exit 1 + _prep_psqlODBC_osx fi # Linux if [ $PG_ARCH_LINUX = 1 ]; then - _prep_psqlODBC_linux || exit 1 + _prep_psqlODBC_linux fi # Linux x64 if [ $PG_ARCH_LINUX_X64 = 1 ]; then - _prep_psqlODBC_linux_x64 || exit 1 + _prep_psqlODBC_linux_x64 fi # Linux ppc64 if [ $PG_ARCH_LINUX_PPC64 = 1 ]; then - #_prep_psqlODBC_linux_ppc64 || exit 1 + #_prep_psqlODBC_linux_ppc64 echo "Linux-PPC64 build pre-process is not part of build framework yet." fi # Windows if [ $PG_ARCH_WINDOWS = 1 ]; then - _prep_psqlODBC_windows || exit 1 + _prep_psqlODBC_windows fi # Windows-x64 if [ $PG_ARCH_WINDOWS_X64 = 1 ]; then - _prep_psqlODBC_windows_x64 || exit 1 + _prep_psqlODBC_windows_x64 fi } @@ -114,38 +114,38 @@ _build_psqlODBC() { # Mac OSX if [ $PG_ARCH_OSX = 1 ]; then - _build_psqlODBC_osx || exit 1 + _build_psqlODBC_osx fi # Linux if [ $PG_ARCH_LINUX = 1 ]; then - _build_psqlODBC_linux || exit 1 + _build_psqlODBC_linux fi # Linux x64 if [ $PG_ARCH_LINUX_X64 = 1 ]; then - _build_psqlODBC_linux_x64 || exit 1 + _build_psqlODBC_linux_x64 fi # Linux ppc64 if [ $PG_ARCH_LINUX_PPC64 = 1 ]; then - #_build_psqlODBC_linux_ppc64 || exit 1 + #_build_psqlODBC_linux_ppc64 echo "Linux-PPC64 build process is not part of build framework yet." fi # Windows if [ $PG_ARCH_WINDOWS = 1 ]; then - _build_psqlODBC_windows || exit 1 + _build_psqlODBC_windows fi # Windows-x64 if [ $PG_ARCH_WINDOWS_X64 = 1 ]; then - _build_psqlODBC_windows_x64 || exit 1 + _build_psqlODBC_windows_x64 fi } @@ -176,36 +176,36 @@ _postprocess_psqlODBC() { # Mac OSX if [ $PG_ARCH_OSX = 1 ]; then - _postprocess_psqlODBC_osx || exit 1 + _postprocess_psqlODBC_osx fi # Linux if [ $PG_ARCH_LINUX = 1 ]; then - _postprocess_psqlODBC_linux || exit 1 + _postprocess_psqlODBC_linux fi # Linux x64 if [ $PG_ARCH_LINUX_X64 = 1 ]; then - _postprocess_psqlODBC_linux_x64 || exit 1 + _postprocess_psqlODBC_linux_x64 fi # Linux ppc64 if [ $PG_ARCH_LINUX_PPC64 = 1 ]; then - _postprocess_psqlODBC_linux_ppc64 || exit 1 + _postprocess_psqlODBC_linux_ppc64 fi # Windows if [ $PG_ARCH_WINDOWS = 1 ]; then - _postprocess_psqlODBC_windows || exit 1 + _postprocess_psqlODBC_windows fi # Windows-x64 if [ $PG_ARCH_WINDOWS_X64 = 1 ]; then - _postprocess_psqlODBC_windows_x64 || exit 1 + _postprocess_psqlODBC_windows_x64 fi } diff --git a/server/build.sh b/server/build.sh index 8909c550a..6e2af539a 100755 --- a/server/build.sh +++ b/server/build.sh @@ -143,50 +143,50 @@ _prep_server() { # Mac OS X if [ $PG_ARCH_OSX = 1 ]; then - _prep_server_osx || exit 1 + _prep_server_osx fi # Linux if [ $PG_ARCH_LINUX = 1 ]; then - _prep_server_linux || exit 1 + _prep_server_linux fi # Linux x64 if [ $PG_ARCH_LINUX_X64 = 1 ]; then - _prep_server_linux_x64 || exit 1 + _prep_server_linux_x64 fi # Linux ppc64 if [ $PG_ARCH_LINUX_PPC64 = 1 ]; then - #_prep_server_linux_ppc64 || exit 1 + #_prep_server_linux_ppc64 echo "Linux-PPC64 build pre-process is not part of build framework yet." fi # Windows if [ $PG_ARCH_WINDOWS = 1 ]; then - _prep_server_windows || exit 1 + _prep_server_windows fi # Windows x64 if [ $PG_ARCH_WINDOWS_X64 = 1 ]; then - _prep_server_windows_x64 || exit 1 + _prep_server_windows_x64 fi # Solaris x64 if [ $PG_ARCH_SOLARIS_X64 = 1 ]; then - _prep_server_solaris_x64 || exit 1 + _prep_server_solaris_x64 fi # Solaris sparc if [ $PG_ARCH_SOLARIS_SPARC = 1 ]; then - _prep_server_solaris_sparc || exit 1 + _prep_server_solaris_sparc fi } @@ -220,50 +220,50 @@ _build_server() { # Mac OSX if [ $PG_ARCH_OSX = 1 ]; then - _build_server_osx || exit 1 + _build_server_osx fi # Linux if [ $PG_ARCH_LINUX = 1 ]; then - _build_server_linux || exit 1 + _build_server_linux fi # Linux x64 if [ $PG_ARCH_LINUX_X64 = 1 ]; then - _build_server_linux_x64 || exit 1 + _build_server_linux_x64 fi # Linux ppc64 if [ $PG_ARCH_LINUX_PPC64 = 1 ]; then - #_build_server_linux_ppc64 || exit 1 + #_build_server_linux_ppc64 echo "Linux-PPC64 build process is not part of build framework yet." fi # Windows if [ $PG_ARCH_WINDOWS = 1 ]; then - _build_server_windows || exit 1 + _build_server_windows fi # Windows x64 if [ $PG_ARCH_WINDOWS_X64 = 1 ]; then - _build_server_windows_x64 || exit 1 + _build_server_windows_x64 fi # Solaris x64 if [ $PG_ARCH_SOLARIS_X64 = 1 ]; then - _build_server_solaris_x64 || exit 1 + _build_server_solaris_x64 fi # Solaris sparc if [ $PG_ARCH_SOLARIS_SPARC = 1 ]; then - _build_server_solaris_sparc || exit 1 + _build_server_solaris_sparc fi } @@ -301,48 +301,48 @@ _postprocess_server() { # Mac OSX if [ $PG_ARCH_OSX = 1 ]; then - _postprocess_server_osx || exit 1 + _postprocess_server_osx fi # Linux if [ $PG_ARCH_LINUX = 1 ]; then - _postprocess_server_linux || exit 1 + _postprocess_server_linux fi # Linux x64 if [ $PG_ARCH_LINUX_X64 = 1 ]; then - _postprocess_server_linux_x64 || exit 1 + _postprocess_server_linux_x64 fi # Linux ppc64 if [ $PG_ARCH_LINUX_PPC64 = 1 ]; then - _postprocess_server_linux_ppc64 || exit 1 + _postprocess_server_linux_ppc64 fi # Windows if [ $PG_ARCH_WINDOWS = 1 ]; then - _postprocess_server_windows || exit 1 + _postprocess_server_windows fi # Windows x64 if [ $PG_ARCH_WINDOWS_X64 = 1 ]; then - _postprocess_server_windows_x64 || exit 1 + _postprocess_server_windows_x64 fi # Solaris x64 if [ $PG_ARCH_SOLARIS_X64 = 1 ]; then - _postprocess_server_solaris_x64 || exit 1 + _postprocess_server_solaris_x64 fi # Solaris sparc if [ $PG_ARCH_SOLARIS_SPARC = 1 ]; then - _postprocess_server_solaris_sparc || exit 1 + _postprocess_server_solaris_sparc fi } diff --git a/sqlprotect/build.sh b/sqlprotect/build.sh index a3936162b..d50e02893 100644 --- a/sqlprotect/build.sh +++ b/sqlprotect/build.sh @@ -44,31 +44,31 @@ _prep_sqlprotect() { # Mac OS X if [ $PG_ARCH_OSX = 1 ]; then - _prep_sqlprotect_osx || exit 1 + _prep_sqlprotect_osx fi # Linux if [ $PG_ARCH_LINUX = 1 ]; then - _prep_sqlprotect_linux || exit 1 + _prep_sqlprotect_linux fi # Linux x64 if [ $PG_ARCH_LINUX_X64 = 1 ]; then - _prep_sqlprotect_linux_x64 || exit 1 + _prep_sqlprotect_linux_x64 fi # Windows if [ $PG_ARCH_WINDOWS = 1 ]; then - _prep_sqlprotect_windows || exit 1 + _prep_sqlprotect_windows fi # Windows x64 if [ $PG_ARCH_WINDOWS_X64 = 1 ]; then - _prep_sqlprotect_windows_x64 || exit 1 + _prep_sqlprotect_windows_x64 fi } @@ -85,31 +85,31 @@ _build_sqlprotect() { # Mac OSX if [ $PG_ARCH_OSX = 1 ]; then - _build_sqlprotect_osx || exit 1 + _build_sqlprotect_osx fi # Linux if [ $PG_ARCH_LINUX = 1 ]; then - _build_sqlprotect_linux || exit 1 + _build_sqlprotect_linux fi # Linux x64 if [ $PG_ARCH_LINUX_X64 = 1 ]; then - _build_sqlprotect_linux_x64 || exit 1 + _build_sqlprotect_linux_x64 fi # Windows if [ $PG_ARCH_WINDOWS = 1 ]; then - _build_sqlprotect_windows || exit 1 + _build_sqlprotect_windows fi # Windows x64 if [ $PG_ARCH_WINDOWS_X64 = 1 ]; then - _build_sqlprotect_windows_x64 || exit 1 + _build_sqlprotect_windows_x64 fi } @@ -142,31 +142,31 @@ _postprocess_sqlprotect() { # Mac OSX if [ $PG_ARCH_OSX = 1 ]; then - _postprocess_sqlprotect_osx || exit 1 + _postprocess_sqlprotect_osx fi # Linux if [ $PG_ARCH_LINUX = 1 ]; then - _postprocess_sqlprotect_linux || exit 1 + _postprocess_sqlprotect_linux fi # Linux x64 if [ $PG_ARCH_LINUX_X64 = 1 ]; then - _postprocess_sqlprotect_linux_x64 || exit 1 + _postprocess_sqlprotect_linux_x64 fi # Windows if [ $PG_ARCH_WINDOWS = 1 ]; then - _postprocess_sqlprotect_windows || exit 1 + _postprocess_sqlprotect_windows fi # Windows x64 if [ $PG_ARCH_WINDOWS_X64 = 1 ]; then - _postprocess_sqlprotect_windows_x64 || exit 1 + _postprocess_sqlprotect_windows_x64 fi }