From 9fc985b3da5d6f5aa7d1adfd7acb2d68a79cbe76 Mon Sep 17 00:00:00 2001 From: Armen Date: Thu, 9 Sep 2021 16:12:50 -0400 Subject: [PATCH] Small change --- scripts/build/build_macos.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/scripts/build/build_macos.sh b/scripts/build/build_macos.sh index b974c867..9f47a590 100755 --- a/scripts/build/build_macos.sh +++ b/scripts/build/build_macos.sh @@ -54,11 +54,11 @@ if [[ $(uname -m) != 'arm64' ]]; then fi cp ${wheeldir}/*.whl ${distdir} -# kill the libpq to make sure tests don't depend on it -mv "$LIBPQ" "${LIBPQ}-bye" - # XXX: Move this code into a test script if [[ $(uname -m) != 'arm64' ]]; then + # kill the libpq to make sure tests don't depend on it + mv "$LIBPQ" "${LIBPQ}-bye" + # Install and test the built wheel pip install ${PACKAGE_NAME:-psycopg2} --no-index -f "$distdir" @@ -74,7 +74,7 @@ if [[ $(uname -m) != 'arm64' ]]; then # fi python -c "import tests; tests.unittest.main(defaultTest='tests.test_suite')" -fi -# just because I'm a boy scout -mv "${LIBPQ}-bye" "$LIBPQ" + # just because I'm a boy scout + mv "${LIBPQ}-bye" "$LIBPQ" +fi