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:
parent
a967d739ab
commit
372247712a
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue