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
3608312c
Commit
3608312c
authored
Mar 04, 2001
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make test-make-manual more portable.
Docs/Support/test-make-manual: Portability fixes.
parent
d483a817
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
Docs/Support/test-make-manual
Docs/Support/test-make-manual
+6
-5
No files found.
Docs/Support/test-make-manual
View file @
3608312c
...
@@ -10,7 +10,7 @@ if [ -z $BROWSER ]; then
...
@@ -10,7 +10,7 @@ if [ -z $BROWSER ]; then
echo
"BROWSER not set, using
$BROWSER
"
echo
"BROWSER not set, using
$BROWSER
"
fi
fi
function
die
die
()
{
{
echo
echo
echo
$1
echo
$1
...
@@ -18,7 +18,7 @@ function die
...
@@ -18,7 +18,7 @@ function die
exit
1
exit
1
}
}
function
cleanup
cleanup
()
{
{
echo
"Cleaning up..."
echo
"Cleaning up..."
if
[
$needed_flags
]
;
then
if
[
$needed_flags
]
;
then
...
@@ -113,11 +113,12 @@ fi
...
@@ -113,11 +113,12 @@ fi
echo
-n
"Running texi2dvi..."
echo
-n
"Running texi2dvi..."
texi2dvi
--batch
--quiet
manual.texi
texi2dvi
--batch
manual.texi
>
texi2dvi.out
if
[
$?
!=
0
]
;
then
if
[
$?
!=
0
]
;
then
die
"Manual has errors - fix before you commit"
die
"Manual has errors - fix before you commit
(saved in texi2dvi.out)
"
else
else
rm
texi2dvi.out
echo
" Looks good."
echo
" Looks good."
fi
fi
...
@@ -132,5 +133,5 @@ echo
...
@@ -132,5 +133,5 @@ echo
$BROWSER
file:
`
pwd
`
/manual_toc.html
$BROWSER
file:
`
pwd
`
/manual_toc.html
echo
"-- Press Enter to Continue --"
echo
"-- Press Enter to Continue --"
read
read
junk
cleanup
cleanup
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