From: jbasney Date: Sun, 18 Feb 2007 17:15:48 +0000 (+0000) Subject: when building from GPT branch, make a GPT package and test it with X-Git-Tag: OPENSSH_4_5P1_20070218~7 X-Git-Url: http://andersk.mit.edu/gitweb/gssapi-openssh.git/commitdiff_plain/bf43e758ad604f4275956f0de73b91fa8329e485 when building from GPT branch, make a GPT package and test it with gpt-build, rather than doing make install directly --- diff --git a/nmi/testscript b/nmi/testscript index a668419..9898d9a 100755 --- a/nmi/testscript +++ b/nmi/testscript @@ -63,13 +63,20 @@ if test -d openssh; then ./install-autotools $GLOBUS_LOCATION cd .. echo ================================================== - echo Building GSI-OpenSSH from CVS... cd openssh - autoreconf - ./configure --prefix=$GLOBUS_LOCATION \ - --with-globus-flavor=$GLOBUS_FLAVOR_NAME \ - --with-zlib=$ZLIB_LOCATION \ - --with-privsep-user=$USER --with-privsep-path=$GLOBUS_LOCATION/var/empty - make install + if test -f make_gpt_dist; then + echo Building GSI-OpenSSH GPT package from CVS... + ./make_gpt_dist + gpt-build -force -verbose gsi_openssh_bundle-*.tar.gz $GLOBUS_FLAVOR_NAME \ + GSI_OPENSSH_GPTMACRO="--with-zlib=$ZLIB_LOCATION" + else + echo Building GSI-OpenSSH from CVS trunk... + autoreconf + ./configure --prefix=$GLOBUS_LOCATION \ + --with-globus-flavor=$GLOBUS_FLAVOR_NAME \ + --with-zlib=$ZLIB_LOCATION \ + --with-privsep-user=$USER --with-privsep-path=$GLOBUS_LOCATION/var/empty + make install + fi fi ) 2>&1 # we want stdout & stderr mixed in the output file