~ubuntu-branches/ubuntu/trusty/drizzle/trusty

« back to all changes in this revision

Viewing changes to plugin/innobase/setup.sh

  • Committer: Bazaar Package Importer
  • Author(s): Monty Taylor
  • Date: 2010-10-02 14:17:48 UTC
  • mfrom: (1.1.1 upstream)
  • mto: (2.1.17 sid)
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: james.westby@ubuntu.com-20101002141748-m6vbfbfjhrw1153e
Tags: 2010.09.1802-1
* New upstream release.
* Removed pid-file argument hack.
* Updated GPL-2 address to be new address.
* Directly copy in drizzledump.1 since debian doesn't have sphinx 1.0 yet.
* Link to jquery from libjs-jquery. Add it as a depend.
* Add drizzled.8 symlink to the install files.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/bin/sh
2
 
#
3
 
# Copyright (c) 1995, 2009, Innobase Oy. All Rights Reserved.
4
 
5
 
# This program is free software; you can redistribute it and/or modify it under
6
 
# the terms of the GNU General Public License as published by the Free Software
7
 
# Foundation; version 2 of the License.
8
 
9
 
# This program is distributed in the hope that it will be useful, but WITHOUT
10
 
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11
 
# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
12
 
13
 
# You should have received a copy of the GNU General Public License along with
14
 
# this program; if not, write to the Free Software Foundation, Inc., 59 Temple
15
 
# Place, Suite 330, Boston, MA 02111-1307 USA
16
 
#
17
 
# Prepare the MySQL source code tree for building
18
 
# with checked-out InnoDB Subversion directory.
19
 
 
20
 
# This script assumes that the current directory is storage/innobase.
21
 
 
22
 
set -eu
23
 
 
24
 
TARGETDIR=../storage/innobase
25
 
 
26
 
# link the build scripts
27
 
BUILDSCRIPTS="compile-innodb compile-innodb-debug"
28
 
for script in $BUILDSCRIPTS ; do
29
 
        ln -sf $TARGETDIR/$script ../../BUILD/
30
 
done
31
 
 
32
 
cd ../../mysql-test/t
33
 
ln -sf ../$TARGETDIR/mysql-test/*.test ../$TARGETDIR/mysql-test/*.opt .
34
 
cd ../r
35
 
ln -sf ../$TARGETDIR/mysql-test/*.result .
36
 
cd ../include
37
 
ln -sf ../$TARGETDIR/mysql-test/*.inc .
38
 
 
39
 
# Apply any patches that are needed to make the mysql-test suite successful.
40
 
# These patches are usually needed because of deviations of behavior between
41
 
# the stock InnoDB and the InnoDB Plugin.
42
 
cd ../..
43
 
for patch in storage/innobase/mysql-test/patches/*.diff ; do
44
 
        if [ "${patch}" != "storage/innobase/mysql-test/patches/*.diff" ] ; then
45
 
                patch -p0 < ${patch}
46
 
        fi
47
 
done