build:check if .settings file is a file.

Check if the .settings entry is a file and not a directory. Eclipse
as we found out also likes creating .settings directories.

Change-Id: I3cbcaa7aa9e5dfb3d51c6c71df7fd72079fe213e
This commit is contained in:
Kees Jongenburger
2014-07-28 17:05:21 +02:00
committed by sambuc
parent a967d739ab
commit 372247712a
+1 -1
View File
@@ -4,7 +4,7 @@ set -e
#
# Source settings if present
#
if [ -e .settings ]
if [ -f .settings ]
then
echo "Sourcing settings from .settings"
# Display the content (so we can check in the build logs