summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorErik de Castro Lopo <erikd@mega-nerd.com>2015-08-01 17:47:06 +1000
committerErik de Castro Lopo <erikd@mega-nerd.com>2015-08-01 17:47:06 +1000
commit9e2bf61d68d580ebdb1c1284097024670a0a8d5b (patch)
tree75e03e95b6d23067af3a4d517476fa28108dee45 /autogen.sh
parent6ced857c253d5da286bf31adfd74a627aaa43c77 (diff)
downloadflac-9e2bf61d68d580ebdb1c1284097024670a0a8d5b.tar.gz
autogen.sh: Switch from bash to sh and make it POSIX
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/autogen.sh b/autogen.sh
index 02ca6442..a47d80eb 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -1,11 +1,11 @@
-#!/bin/bash
+#!/bin/sh
# Run this to set up the build system: configure, makefiles, etc.
# We trust that the user has a recent enough autoconf & automake setup
# (not older than a few years...)
test_program_errors=0
-function test_program {
+test_program () {
if ! command -v $1 >/dev/null 2>&1 ; then
echo "Missing program '$1'."
test_program_errors=1