mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-28 21:56:31 +00:00
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:
parent
2e8dd9563d
commit
e24909a872
@ -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' |
|
||||||
|
Loading…
x
Reference in New Issue
Block a user