source: trunk/test/test_repo.sh.in @ 568

Last change on this file since 568 was 568, checked in by Peter Johansson, 13 years ago

using AC_CONFIG_FILES to create shell scripts from *.in files.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.2 KB
Line 
1#!@SHELL@
2# @configure_input@
3
4# $Id: test_repo.sh.in 568 2008-03-12 22:08:49Z peter $
5
6# Copyright (C) 2007 Jari Häkkinen, Peter Johansson
7# Copyright (C) 2008 Peter Johansson
8#
9# This file is part of svndigest, http://trac.thep.lu.se/svndigest
10#
11# svndigest is free software; you can redistribute it and/or modify it
12# under the terms of the GNU General Public License as published by
13# the Free Software Foundation; either version 2 of the License, or
14# (at your option) any later version.
15#
16# svndigest is distributed in the hope that it will be useful, but
17# WITHOUT ANY WARRANTY; without even the implied warranty of
18# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
19# General Public License for more details.
20#
21# You should have received a copy of the GNU General Public License
22# along with this program; if not, write to the Free Software
23# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
24# 02111-1307, USA.
25
26rootdir=@abs_srcdir@/toy_project
27targetdir=@abs_builddir@/generated_output
28repodir=@abs_srcdir@/repo/trunk
29
30svn update $rootdir > /dev/null;
31
32if [ ! -d $targetdir ]; then
33    mkdir $targetdir;
34fi
35
36@abs_top_builddir@/bin/svndigest -r $rootdir -t $targetdir -f \
37--ignore-cache --no-report $1;
38
39@abs_top_builddir@/bin/svndigest -r $rootdir -t $targetdir -f --copyright $1;
40
Note: See TracBrowser for help on using the repository browser.