diff options
author | Erik de Castro Lopo <erikd@mega-nerd.com> | 2015-08-01 17:47:06 +1000 |
---|---|---|
committer | Erik de Castro Lopo <erikd@mega-nerd.com> | 2015-08-01 17:47:06 +1000 |
commit | 9e2bf61d68d580ebdb1c1284097024670a0a8d5b (patch) | |
tree | 75e03e95b6d23067af3a4d517476fa28108dee45 /autogen.sh | |
parent | 6ced857c253d5da286bf31adfd74a627aaa43c77 (diff) | |
download | flac-9e2bf61d68d580ebdb1c1284097024670a0a8d5b.tar.gz |
autogen.sh: Switch from bash to sh and make it POSIX
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |