Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(189)

Unified Diff: src/scripts/start_devserver

Issue 1141001: adds Devserver support for statically serving versioned updates. (Closed)
Patch Set: recommit as workaround for odd git merge behavior Created 10 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/platform/dev/update_test.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/scripts/start_devserver
diff --git a/src/scripts/start_devserver b/src/scripts/start_devserver
index d7f22e3244fc9dafc0b157dc569d6be2874dd862..e79b6f8e23b92d2250151e80e955698b0017a2d4 100755
--- a/src/scripts/start_devserver
+++ b/src/scripts/start_devserver
@@ -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 $*
« no previous file with comments | « src/platform/dev/update_test.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698