(dali_env) Fix setenv output 04/53504/5
authorAdeel Kazmi <adeel.kazmi@samsung.com>
Mon, 7 Dec 2015 10:45:46 +0000 (10:45 +0000)
committerAdeel Kazmi <adeel.kazmi@samsung.com>
Mon, 7 Dec 2015 13:40:19 +0000 (13:40 +0000)
commit0e28d6c906f05da92f93cbce32d8abb95e45365b
tree5b3275b88256ec4e1fb1e7a9133d53129fa007b8
parent5c22d33905e9ef8e6038d0a5efea5955624f22d8
(dali_env) Fix setenv output

Problem:  Running "dali_env -s" does not output the correct setenv information.
Solution: This happened because we were doing a string inequality check using "!=".
          We should use "ne" instead.
          Additionally, ensure we only look for "dali-env" as our root dir explicitly, i.e.
          it should not be dali-env-blah. In that case, a dali-env subdirectory should be used
          as the root.
          Also ensuring that we do not create a new dali-env folder if it already exist in the
          current working directory root path.

Change-Id: Ic7b3897996d318439ab3cb6a001917519155ebd7
build/scripts/dali_env