From: Peter Eisentraut Date: Tue, 27 Aug 2019 20:22:24 +0000 (+0200) Subject: Travis CI: Shell fix X-Git-Tag: pgbouncer_1_12_0~38 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0ec10d778cdae1304d0331c2c6fb94381e61d195;p=pgbouncer 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. --- 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