Skip to content

Commit b1a0799

Browse files
committed
create wrapper script for travis to call autogen.sh instead of altering the current script
1 parent 63f53b4 commit b1a0799

File tree

2 files changed

+11
-8
lines changed

2 files changed

+11
-8
lines changed

autogen.sh

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,4 @@
11
#!/usr/bin/env sh
22

3-
if [[ $TRAVIS_OS_NAME == osx ]];
4-
then
5-
monoVer=$(mono --version | head -n 1 | cut -d' ' -f 5)
6-
prefix="/Library/Frameworks/Mono.framework/Versions/$monoVer";
7-
else prefix="/usr";
8-
fi
9-
103
which autoreconf > /dev/null || (echo "Please install autoconf" && exit 1)
11-
autoreconf && ./configure --prefix=$prefix
4+
autoreconf && ./configure $@

travis-autogen.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#!/usr/bin/env sh
2+
3+
if [[ $TRAVIS_OS_NAME == osx ]];
4+
then
5+
monoVer=$(mono --version | head -n 1 | cut -d' ' -f 5)
6+
prefix="/Library/Frameworks/Mono.framework/Versions/$monoVer";
7+
else prefix="/usr";
8+
fi
9+
10+
./autogen.sh --prefix=$prefix

0 commit comments

Comments
 (0)