adds Devserver support for statically serving versioned updates.

Also decouples it from the chroot when run in serve-only mode.

Review URL: http://codereview.chromium.org/1141001
This commit is contained in:
Sean O'Connor 2010-03-20 23:23:48 -07:00
parent caee8f891c
commit 505822a37c

View File

@ -9,7 +9,7 @@
COMMON_SH="$(dirname "$0")/common.sh"
. "$COMMON_SH"
# Script must be run inside the chroot.
assert_inside_chroot
# Script must be run inside the chroot if not in 'always serve' mode.
[[ $1 != "-a" && assert_inside_chroot ]]
cd ${GCLIENT_ROOT}/src/platform/dev && python devserver.py
cd ${GCLIENT_ROOT}/src/platform/dev && python devserver.py $*