Permalink
Browse files

Update configure

Summary: use echo in portable way

`\n` is not expanded here, alternative is to use `printf "%s\n" "$0"`, but this is simplier
Closes #5136

Reviewed By: @paulbiss

Differential Revision: D1970258
  • Loading branch information...
1 parent 2b868b2 commit ea04e4f45829c013178989a17dfaf80db5f1e941 @glensc glensc committed with hhvm-bot Apr 6, 2015
Showing with 2 additions and 1 deletion.
  1. +2 −1 configure
View
@@ -3,7 +3,8 @@
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
if [ "$1" = '--help' ] || [ "$1" = '-h' ]; then
- echo "usage: $0 -Dvariable=argument ...\n"
+ echo "usage: $0 -Dvariable=argument ..."
+ echo ''
echo 'Variables: '
options=`cat $DIR/CMake/Options.cmake | grep option | sed -e 's/^[ \t]*//' |
sed 's/\s*option(/ -D/; s/ "/=ON|OFF : /;

0 comments on commit ea04e4f

Please sign in to comment.