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.
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
(
)
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