Skip to content

Commit

Permalink
Adjusted bootstrap to use bash
Browse files Browse the repository at this point in the history
The bootstrap script makes some assumptions about shells so I've set it
to bash explicitly. It now also has some more coherent indentation as
well as 'set -e' to quit immediately on error.

Signed-off-by: Michael Bergeron <[email protected]>
  • Loading branch information
shortword committed Oct 6, 2018
1 parent aae11c8 commit 3c034bf
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions bootstrap
Original file line number Diff line number Diff line change
@@ -1,8 +1,17 @@
#!/bin/bash

set -e

rm -rf config.cache autom4te*.cache
#autoreconf --install

case `uname` in Darwin*) glibtoolize --automake ;;
*) libtoolize --automake ;; esac
case `uname` in
Darwin*)
glibtoolize --automake ;;
*)
libtoolize --automake ;;
esac

aclocal
autoconf
autoheader
Expand Down

0 comments on commit 3c034bf

Please sign in to comment.