start_devserver: update relative paths in command line flags

Because this scripts changes directory, it's possible for relative
paths to be incorrect when read by the actual dev server. This fixes
the issue by prepending the current working directory to relative path
args.

BUG=chromium-os:12122
TEST=tested relative paths w/ dev server

Change-Id: I7a85e4af5df291ec78afb0f2c1580855c38a258e

Review URL: http://codereview.chromium.org/6525011
This commit is contained in:
Andrew de los Reyes 2011-02-17 10:44:00 -08:00
parent ab463c0844
commit d5e061957f

View File

@ -41,4 +41,4 @@ if [ -z "${PKG_INSTALL_MASK+x}" ]; then
fi
echo PKG_INSTALL_MASK=$PKG_INSTALL_MASK
cd ${GCLIENT_ROOT}/src/platform/dev && python devserver.py "$@"
python "${GCLIENT_ROOT}/src/platform/dev/devserver.py" "$@"