From e45a83abe23816f8202e7e7e401dfd0d993e25c5 Mon Sep 17 00:00:00 2001 From: David Jones Date: Mon, 24 Aug 1998 17:34:45 +0100 Subject: [PATCH] Using /bin/sh not bash Copied from Perforce Change: 19897 ServerID: perforce.ravenbrook.com --- mps/home/bin/build/MM_src_trunk | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/mps/home/bin/build/MM_src_trunk b/mps/home/bin/build/MM_src_trunk index 45e737ec88a..516ef937dc0 100644 --- a/mps/home/bin/build/MM_src_trunk +++ b/mps/home/bin/build/MM_src_trunk @@ -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"