aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMemphiz <memphis@machzwo.de>2013-05-02 22:39:15 +0200
committerMemphiz <memphis@machzwo.de>2013-05-02 23:27:09 +0200
commit57924e51b3b9da58e2cede94c69755654875796d (patch)
tree0bb1d32c0497e0c9d3a5c0181cbc3cb3918d1a86 /tools
parent4b6281127df368c7d56ee78787f13073506d7d72 (diff)
[jenkins] - fix comparison with empty strings
Diffstat (limited to 'tools')
-rw-r--r--tools/buildsteps/defaultenv10
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/buildsteps/defaultenv b/tools/buildsteps/defaultenv
index 98c011e611..0e0cf39f8e 100644
--- a/tools/buildsteps/defaultenv
+++ b/tools/buildsteps/defaultenv
@@ -41,23 +41,23 @@ case $XBMC_PLATFORM_DIR in
DEFAULT_XBMC_DEPENDS_ROOT=$WORKSPACE/tools/depends/xbmc-depends
esac
-if [ $SDK_VERSION == "Default" ]
+if [ "$SDK_VERSION" == "Default" ]
then
SDK_VERSION=$DEFAULT_SDK_VERSION
fi
-if [ $XBMC_DEPENDS_ROOT == "Default" ]
+if [ "$XBMC_DEPENDS_ROOT" == "Default" ]
then
XBMC_DEPENDS_ROOT=$DEFAULT_XBMC_DEPENDS_ROOT
fi
-if [ $Configuration == "Default" ]
+if [ "$Configuration" == "Default" ]
then
Configuration=$DEFAULT_CONFIGURATION
fi
#clamp release builds to 1 thread only
-if [ $Configuration == "Release" ]
+if [ "$Configuration" == "Release" ]
then
BUILDTHREADS=1
fi
@@ -81,7 +81,7 @@ function pathChanged ()
local checkPath
ret="0"
#no optims in release builds!
- if [ $Configuration == "Release" ]
+ if [ "$Configuration" == "Release" ]
then
echo "1"
return