From 5a591e4f779ac29038393c3a9a380aa4019f24ab Mon Sep 17 00:00:00 2001 From: basney Date: Mon, 28 Sep 2009 18:55:06 +0000 Subject: [PATCH] always build in a clean directory maybe this will fix MacOS NMI build failures? --- nmi/testscript | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/nmi/testscript b/nmi/testscript index 5229465..c3254a4 100755 --- a/nmi/testscript +++ b/nmi/testscript @@ -73,6 +73,7 @@ for installer in `ls gt*-all-source-installer.tar.gz *nightly.tar.gz`; do if test -f gsi_openssh_bundle-*.tar.gz; then echo ================================================== echo Building GSI-OpenSSH GPT bundle... + rm -rf BUILD gpt-build -force -verbose gsi_openssh_bundle-*.tar.gz $GLOBUS_FLAVOR_NAME \ GSI_OPENSSH_GPTMACRO="--with-zlib=$ZLIB_LOCATION" fi @@ -83,7 +84,9 @@ for installer in `ls gt*-all-source-installer.tar.gz *nightly.tar.gz`; do ./install-autotools $GLOBUS_LOCATION cd .. echo ================================================== - cd gssapi-openssh/openssh + cd gssapi-openssh + cp -r openssh openssh.build + cd openssh.build if test -f make_gpt_dist; then echo Building GSI-OpenSSH GPT package from CVS... rm -f gsi_openssh-*.tar.gz @@ -99,7 +102,9 @@ for installer in `ls gt*-all-source-installer.tar.gz *nightly.tar.gz`; do --with-privsep-user=$USER --with-privsep-path=$GLOBUS_LOCATION/var/empty make install-nokeys # nonroot fi - cd ../.. + cd .. + rm -rf openssh.build + cd .. fi rm -rf gt*-installer $GLOBUS_LOCATION done -- 2.45.1