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-03-24 17:30:45 +01:00 committed by Lionel Sambuc
parent a967d739ab
commit 372247712a

View file

@ -4,7 +4,7 @@ set -e
# #
# Source settings if present # Source settings if present
# #
if [ -e .settings ] if [ -f .settings ]
then then
echo "Sourcing settings from .settings" echo "Sourcing settings from .settings"
# Display the content (so we can check in the build logs # Display the content (so we can check in the build logs