1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-18 17:01:01 -08:00

Using /bin/sh not bash

Copied from Perforce
 Change: 19897
 ServerID: perforce.ravenbrook.com
This commit is contained in:
David Jones 1998-08-24 17:34:45 +01:00
parent fb36b527fd
commit e45a83abe2

View file

@ -1,8 +1,8 @@
#!/usr/local/bin/bash
#!/bin/sh
#
# Build and test MM (the MM_src compound) at tip of the trunk
#
# $HopeName: HOMEmm!bin:build:MM_src_trunk(trunk.26) $
# $HopeName: HOMEmm!bin:build:MM_src_trunk(trunk.27) $
script="`basename $0`"
@ -32,7 +32,7 @@ hope co -compound MMsrc -branch . -recursive \
## Build a library
function build-lib {
build_lib () {
for variety in ci hi ti wi he ce
do
date
@ -42,7 +42,7 @@ function build-lib {
}
## Build and run a test
function do-tests {
do_tests () {
for variety in ci hi ti wi he ce
do
gnumake -rf ${platform}.gmk VARIETY=$variety $1 ||
@ -57,18 +57,18 @@ cd src
### SW builds have different compilation options, so they ought to be
### done separately. Do them first.
build-lib mmsw.a
build_lib mmsw.a
do-tests testrunep
do_tests testrunep
### Then clean up and do the others.
gnumake -rf $platform.gmk clean ||
die "Unable to clean up trunk"
build-lib mps.a
build_lib mps.a
do-tests testrun
do_tests testrun
gnumake -rf $platform.gmk clean ||
die "Unable to clean up trunk"