appium/appium — pull request #1894 by rgonalo (2014-02-11 08:44:13+00:00)
Title: Fix issues in Windows and Linux paths

* Temp folder creation fails in Windows and Linux:
In Windows, creates 'C:\Users\username\AppData\Local\Temp11416-213476-1prjd5m' instead of 'C:\Users\username\AppData\Local\Temp\11416-213476-1prjd5m'
In Linux, fails creating '/tmp11416-7920-1lzjv85' instead of '/tmp/11416-7920-1lzjv85' (Error: Failed to start an Appium session, err was: Error: EACCES, permission denied)

* reset.sh fails if there are spaces in Appium folder or in JAVA_HOME.
With this fix, reset.sh can be used in Windows from git-bash.

* Error installing unlock app if there are spaces in Appium folder:
In Windows and Linux, the error shown is "error: Failed to start an Appium session, err was: Error: Command failed: can't find 'c:\Program ' to install"
In Mac, "error: Failed to start an Appium session, err was: Error: Could not find adb"