Skip to content

Commit

Permalink
fix MASON_DIR around MASON_STDLIB_VERSION
Browse files Browse the repository at this point in the history
  • Loading branch information
mikemorris committed Oct 1, 2015
1 parent bfc12d6 commit 3471ad5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mason.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ case ${MASON_ROOT} in
*\ * ) mason_error "Directory '${MASON_ROOT} contains spaces."; exit ;;
esac

export MASON_STDLIB_VERSION="-"`${CXX:-c++} stdlib.cpp -o stdlib.o && ./stdlib.o`
export MASON_STDLIB_VERSION="-"`${CXX:-c++} ${MASON_DIR}/stdlib.cpp -o ${MASON_DIR}/stdlib.o && ${MASON_DIR}/stdlib.o`

if [ ${MASON_PLATFORM} = 'osx' ]; then
export MASON_HOST_ARG="--host=x86_64-apple-darwin"
Expand Down

0 comments on commit 3471ad5

Please sign in to comment.