summaryrefslogtreecommitdiff
path: root/math/isabelle/files/patch-build
blob: 0d1a9733276c3ea3415891f1cd652f3c9126fa38 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
--- build.orig	Sat Jan 12 16:44:25 2008
+++ build	Sat Jan 12 16:46:08 2008
@@ -1,4 +1,4 @@
-#!/usr/bin/env bash
+#!/bin/sh
 #
 # $Id: build,v 1.36 2005/12/01 17:41:46 wenzelm Exp $
 # Author: Markus Wenzel, TU Muenchen
@@ -23,12 +23,12 @@
 PRG="$(basename "$0")"
 
 ISABELLE_HOME="$(cd "$(dirname "$0")"; pwd -P)"
-source "$ISABELLE_HOME/lib/scripts/getsettings" || exit 2
+. "$ISABELLE_HOME/lib/scripts/getsettings" || exit 2
 
 
 ## diagnostics
 
-function usage()
+usage()
 {
   echo
   echo "Usage: $PRG [OPTIONS] [LOGICS ...]"
@@ -46,7 +46,7 @@
   exit 1
 }
 
-function fail()
+fail()
 {
   echo "$1" >&2
   exit 2