diff options
author | unknown <tim@threads.polyesthetic.msg> | 2001-03-04 15:37:11 -0500 |
---|---|---|
committer | unknown <tim@threads.polyesthetic.msg> | 2001-03-04 15:37:11 -0500 |
commit | 3608312cf2c61e7fcfa77d3da3d2b535aa913529 (patch) | |
tree | 226265e6ecf5927c0a16aecd374cd365a04a3045 /Docs/Support | |
parent | d483a817e04292a3752d050afc075ec72bdb24a6 (diff) | |
download | mariadb-git-3608312cf2c61e7fcfa77d3da3d2b535aa913529.tar.gz |
Make test-make-manual more portable.
Docs/Support/test-make-manual:
Portability fixes.
Diffstat (limited to 'Docs/Support')
-rwxr-xr-x | Docs/Support/test-make-manual | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/Docs/Support/test-make-manual b/Docs/Support/test-make-manual index 822b9ff1e08..bd4ed4b04e3 100755 --- a/Docs/Support/test-make-manual +++ b/Docs/Support/test-make-manual @@ -10,7 +10,7 @@ if [ -z $BROWSER ]; then echo "BROWSER not set, using $BROWSER" fi -function die +die () { echo echo $1 @@ -18,7 +18,7 @@ function die exit 1 } -function cleanup +cleanup () { echo "Cleaning up..." if [ $needed_flags ]; then @@ -113,11 +113,12 @@ fi echo -n "Running texi2dvi..." -texi2dvi --batch --quiet manual.texi +texi2dvi --batch manual.texi > texi2dvi.out if [ $? != 0 ]; then - die "Manual has errors - fix before you commit" + die "Manual has errors - fix before you commit (saved in texi2dvi.out)" else + rm texi2dvi.out echo " Looks good." fi @@ -132,5 +133,5 @@ echo $BROWSER file:`pwd`/manual_toc.html echo "-- Press Enter to Continue --" -read +read junk cleanup |