]> git.street.me.uk Git - andy/viking.git/commitdiff
Fix bashisms.
authorGreg Troxel <gdt@ir.bbn.com>
Mon, 13 Sep 2010 00:25:02 +0000 (20:25 -0400)
committerGuilhem Bonnefille <guilhem.bonnefille@gmail.com>
Tue, 14 Sep 2010 11:43:34 +0000 (13:43 +0200)
Change shell to /bin/sh.  Adapt to POSIX shell function syntax.

test/check_degrees_conversions.sh

index 1b675ef426643e605eca25d98e9175a33b05bdec..a6a0b8887a0274a57f3c9cb32fdaa5ae3c790ae5 100755 (executable)
@@ -1,6 +1,6 @@
-#!/bin/bash
+#!/bin/sh
 
-function check_success()
+check_success ()
 {
   expected=$1
   shift
@@ -16,7 +16,7 @@ function check_success()
   done
 }
 
-function check_failure()
+check_failure ()
 {
   expected=$1
   shift