From 982e34c50d6c4e2671613f9926a3dbe0583df473 Mon Sep 17 00:00:00 2001 From: Jeff Squyres Date: Sat, 8 Oct 2005 10:53:06 +0000 Subject: [PATCH] Update the dist script a bit This commit was SVN r7672. --- contrib/dist/make_dist_tarball | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/contrib/dist/make_dist_tarball b/contrib/dist/make_dist_tarball index 1897a97f1c..546cf7e779 100755 --- a/contrib/dist/make_dist_tarball +++ b/contrib/dist/make_dist_tarball @@ -117,7 +117,7 @@ fi # Sanity check # echo "*** Sanity check..." -file="src/mca/ptl/gm/ptl_gm_peer.h" +file="ompi/mca/btl/gm/btl_gm_component.c" if test ! -f "$file"; then echo "Configure failed - no file: $file" exit 1 @@ -133,12 +133,15 @@ rm -rf autogen.sh # # make tarball # -echo "*** Running make dist..." -make dist 2>&1 | tee dist.out +echo "*** Running make distcheck..." +save_LD=$LD_LIBRARY_PATH +LD_LIBRARY_PATH= +make distcheck 2>&1 | tee dist.out if test ! "$?" = "0"; then echo "Make dist failed. Aborting" exit 1 fi +LD_LIBRARY_PATH=$save_LD # # move