Changeset 748 for trunk


Ignore:
Timestamp:
Jan 9, 2009, 11:23:49 PM (12 years ago)
Author:
Peter Johansson
Message:
  • AC_SUBST have_test_repo
  • cleaned up code so it looks better in generated file test_repo.sh
Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.ac

    r744 r748  
    175175               test_repo_found="yes"],
    176176              [test_repo_found="no"])
     177AC_SUBST([test_repo_found])
    177178if (test "$test_repo_found" = "yes"); then
    178179   dnl test repo is not distributed
  • trunk/test/test_repo.sh.in

    r744 r748  
    2222# along with svndigest. If not, see <http://www.gnu.org/licenses/>.
    2323
    24 rootdir=@abs_builddir@/toy_project
    25 targetdir=@abs_builddir@/generated_output
     24abs_top_builddir=@abs_top_builddir@
     25abs_builddir=@abs_builddir@
     26rootdir=$abs_builddir/toy_project
     27targetdir=$abs_builddir/generated_output
    2628
    27 test_repo_found="@test_repo_found@"
    28 if test $test_repo_found = "no"; then
     29test_repo_found=@test_repo_found@
     30if test x$test_repo_found != xyes; then
    2931    exit 77;
    3032fi
    3133
    32 cd @abs_builddir@ && @SHELL@ svn_update.sh;
     34cd $abs_builddir && @SHELL@ svn_update.sh || exit 1;
    3335
    34 if [ ! -d $targetdir ]; then
    35     mkdir $targetdir;
    36 fi
     36@MKDIR_P@ $targetdir;
    3737
    38 @abs_top_builddir@/bin/svndigest -r $rootdir -t $targetdir \
     38$abs_top_builddir/bin/svndigest -r $rootdir -t $targetdir \
    3939--ignore-cache --no-report $1;
    4040
    41 @abs_top_builddir@/bin/svndigest -r $rootdir -t $targetdir -f $1;
     41$abs_top_builddir/bin/svndigest -r $rootdir -t $targetdir -f $1;
    4242
Note: See TracChangeset for help on using the changeset viewer.