dependencies.sh: cleanup dependencies.sh

Cleanup mixed indents and remove commented lines.

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Maxime Hadjinlian 2014-02-05 19:25:49 +01:00 committed by Peter Korsgaard
parent 2e8dd9563d
commit e24909a872

View File

@ -1,6 +1,5 @@
#!/bin/sh #!/bin/sh
# vi: set sw=4 ts=4: # vi: set sw=4 ts=4:
#set -x
export LC_ALL=C export LC_ALL=C
@ -117,10 +116,10 @@ CXXCOMPILER=$(which $HOSTCXX_NOCCACHE 2> /dev/null)
if [ -z "$CXXCOMPILER" ] ; then if [ -z "$CXXCOMPILER" ] ; then
CXXCOMPILER=$(which c++ 2> /dev/null) CXXCOMPILER=$(which c++ 2> /dev/null)
fi fi
if [ -z "$CXXCOMPILER" ] ; then if [ -z "$CXXCOMPILER" ] ; then
echo echo
echo "You may have to install 'g++' on your build machine" echo "You may have to install 'g++' on your build machine"
#exit 1
fi fi
if [ ! -z "$CXXCOMPILER" ] ; then if [ ! -z "$CXXCOMPILER" ] ; then
CXXCOMPILER_VERSION=$($CXXCOMPILER -v 2>&1 | sed -n '/^gcc version/p' | CXXCOMPILER_VERSION=$($CXXCOMPILER -v 2>&1 | sed -n '/^gcc version/p' |