mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-23 22:51:03 +02:00
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:
parent
ab463c0844
commit
d5e061957f
@ -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" "$@"
|
||||
|
Loading…
x
Reference in New Issue
Block a user