From 0ec10d778cdae1304d0331c2c6fb94381e61d195 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Tue, 27 Aug 2019 22:22:24 +0200 Subject: [PATCH] Travis CI: Shell fix Newer cd versions apparently complain about too many arguments, which was a problem here, since pgbouncer-* expands to both the directory name and the tarball name. --- .travis.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index a5c2167..129f3d7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -46,6 +46,7 @@ script: | etc/optscan.sh ./autogen.sh ./configure --prefix=$HOME/install --enable-cassert --enable-werror --without-cares $configure_args + PACKAGE_VERSION=$(sed -n 's/PACKAGE_VERSION = //p' config.mak) make make -C test ( @@ -69,8 +70,8 @@ script: | ) make install make dist - tar -x -f pgbouncer-*.tar.gz - cd pgbouncer-* + tar -x -f pgbouncer-${PACKAGE_VERSION}.tar.gz + cd pgbouncer-${PACKAGE_VERSION}/ ./configure --prefix=$HOME/install2 --enable-werror --without-cares $configure_args make make install -- 2.40.0