Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
80a3c64d
Commit
80a3c64d
authored
Apr 24, 2003
by
greg@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor changes in netware directory (From Rob Lyon - Novell)
parent
a4281f59
Changes
13
Show whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
108 additions
and
4 deletions
+108
-4
netware/BUILD/compile-AUTOTOOLS
netware/BUILD/compile-AUTOTOOLS
+6
-0
netware/BUILD/compile-linux-tools
netware/BUILD/compile-linux-tools
+4
-1
netware/BUILD/compile-netware-END
netware/BUILD/compile-netware-END
+6
-0
netware/BUILD/compile-netware-START
netware/BUILD/compile-netware-START
+4
-1
netware/BUILD/compile-netware-all
netware/BUILD/compile-netware-all
+6
-0
netware/BUILD/compile-netware-debug
netware/BUILD/compile-netware-debug
+6
-0
netware/BUILD/compile-netware-standard
netware/BUILD/compile-netware-standard
+7
-0
netware/BUILD/cron-build
netware/BUILD/cron-build
+46
-0
netware/BUILD/crontab
netware/BUILD/crontab
+4
-0
netware/BUILD/mwasmnlm
netware/BUILD/mwasmnlm
+3
-0
netware/BUILD/mwccnlm
netware/BUILD/mwccnlm
+3
-0
netware/BUILD/mwldnlm
netware/BUILD/mwldnlm
+3
-0
netware/BUILD/nwbootstrap
netware/BUILD/nwbootstrap
+10
-2
No files found.
netware/BUILD/compile-AUTOTOOLS
View file @
80a3c64d
#! /bin/sh
# debug
#set -x
# stop on errors
set
-e
for
package
in
.
./innobase
do
(
cd
$package
...
...
netware/BUILD/compile-linux-tools
View file @
80a3c64d
#! /bin/sh
#debug
#
debug
#set -x
# stop on errors
set
-e
if
test
!
-r
./sql/mysqld.cc
then
echo
"you must start from the top source directory"
...
...
netware/BUILD/compile-netware-END
View file @
80a3c64d
#! /bin/sh
# debug
#set -x
# stop on errors
set
-e
path
=
`
dirname
$0
`
# clean
...
...
netware/BUILD/compile-netware-START
View file @
80a3c64d
#! /bin/sh
#debug
#
debug
#set -x
# stop on errors
set
-e
if
test
!
-r
./sql/mysqld.cc
then
echo
"you must start from the top source directory"
...
...
netware/BUILD/compile-netware-all
View file @
80a3c64d
#! /bin/sh
# debug
#set -x
# stop on errors
set
-e
path
=
`
dirname
$0
`
$path
/compile-netware-standard
...
...
netware/BUILD/compile-netware-debug
View file @
80a3c64d
#! /bin/sh
# debug
#set -x
# stop on errors
set
-e
path
=
`
dirname
$0
`
.
$path
/compile-netware-START
...
...
netware/BUILD/compile-netware-standard
View file @
80a3c64d
#! /bin/sh
# debug
#set -x
# stop on errors
set
-e
path
=
`
dirname
$0
`
.
$path
/compile-netware-START
...
...
netware/BUILD/cron-build
0 → 100755
View file @
80a3c64d
#! /bin/sh
# debug
#set -x
# stop on errors
set
-e
# repository direcotry
repo_dir
=
`
pwd
`
# show usage
show_usage
()
{
cat
<<
EOF
usage: cron-patch
EOF
exit
0
;
}
echo
"starting build..."
# check for bk and repo_dir
bk
help
>
/dev/null
repo_dir
=
`
bk root
$repo_dir
`
cd
$repo_dir
# pull latest code
echo
'y'
| bk pull
# determine version
version
=
`
grep
-e
"AM_INIT_AUTOMAKE(mysql, .*)"
< configure.in |
sed
-e
"s/AM_INIT_AUTOMAKE(mysql,
\(
.*
\)
)/
\1
/"
`
echo
"version:
$version
"
# latest revision
rev
=
`
bk changes
-e
-n
-d
':REV:'
|
head
-1
`
echo
"latest revision:
$rev
"
# run bootstrap
./netware/BUILD/nwbootstrap
--revision
=
$rev
--suffix
=
$rev
--build
=
all
echo
"done"
netware/BUILD/crontab
0 → 100755
View file @
80a3c64d
00 23 * * * (export PATH='/usr/local/bin:/usr/bin:/bin'; export DISPLAY=':0'; cd ~/bk/mysqldoc; echo 'y' | bk pull)
00 00 * * * (export PATH='/usr/local/bin:/usr/bin:/bin'; export DISPLAY=':0'; cd ~/bk/mysql-4.0; ./netware/BUILD/cron-build)
00 04 * * * (export PATH='/usr/local/bin:/usr/bin:/bin'; export DISPLAY=':0'; cd ~/bk/mysql-4.1; ./netware/BUILD/cron-build)
netware/BUILD/mwasmnlm
View file @
80a3c64d
#! /bin/sh
# stop on errors
set
-e
args
=
"
$*
"
wine
--debugmsg
-all
--
mwasmnlm
$args
netware/BUILD/mwccnlm
View file @
80a3c64d
#! /bin/sh
# stop on errors
set
-e
# mwccnlm is having a hard time understanding "-I./../include"
# convert it to "-I../include"
args
=
" "
`
echo
$*
|
sed
-e
's/-I.\/../-I../g'
`
...
...
netware/BUILD/mwldnlm
View file @
80a3c64d
#! /bin/sh
# stop on errors
set
-e
args
=
"
$*
"
wine
--debugmsg
-all
--
mwldnlm
$args
netware/BUILD/nwbootstrap
View file @
80a3c64d
...
...
@@ -3,11 +3,11 @@
# debug
#set -x
path
=
`
dirname
$0
`
# stop on errors
set
-e
path
=
`
dirname
$0
`
# repository direcotry
repo_dir
=
`
pwd
`
...
...
@@ -24,6 +24,7 @@ temp_dir=""
revision
=
""
rev
=
""
build
=
""
suffix
=
""
mwenv
=
""
# show usage
...
...
@@ -81,6 +82,7 @@ for arg do
--wine-build-dir
=
*
)
wine_build_dir
=
`
echo
"
$arg
"
|
sed
-e
"s;--wine-build-dir=;;"
`
;;
--revision
=
*
)
revision
=
`
echo
"
$arg
"
|
sed
-e
"s;--revision=;;"
`
;;
--build
=
*
)
build
=
`
echo
"
$arg
"
|
sed
-e
"s;--build=;;"
`
;;
--suffix
=
*
)
suffix
=
`
echo
"
$arg
"
|
sed
-e
"s;--suffix=;;"
`
;;
--doc-dir
=
*
)
doc_dir
=
`
echo
"
$arg
"
|
sed
-e
"s;--doc-dir=;;"
`
;;
*
)
show_usage
;;
esac
...
...
@@ -111,6 +113,12 @@ echo "version: $version"
# build target directory
target_dir
=
"
$build_dir
/mysql-
$version
"
# add suffix
if
test
$suffix
then
target_dir
=
"
$target_dir
-
$suffix
"
fi
# delete any old target
if
test
-d
$target_dir
.old
;
then
rm
-rf
$target_dir
.old
;
fi
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment