Skip to content

Commit 2c43ff5

Browse files
committed
os specific prefix
1 parent 23d6191 commit 2c43ff5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: .travis.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ script:
2727
- test -z "$commit" || git checkout $commit
2828
- git log -1
2929
- autoreconf -f -i
30-
- ./configure --prefix=/usr
30+
- case "$TRAVIS_OS_NAME" in osx) prefix=/usr/local;; linux) prefix=/usr;; esac
31+
- ./configure --prefix=$prefix
3132
- make -j4
3233
# remove system file package first
3334
# see https://github.com/file/file-tests/issues/3

0 commit comments

Comments
 (0)