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

Side by Side Diff: src/scripts/start_devserver

Issue 1736025: Added restart_in_chroot_if_needed to common.sh. (Closed) Base URL: http://src.chromium.org/git/chromiumos.git
Patch Set: Reverted mod_image_for_test.sh and removed line from common.sh. Created 10 years, 7 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 unified diff | Download patch
« no previous file with comments | « src/scripts/set_shared_user_password.sh ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/bash 1 #!/bin/bash
2 2
3 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. 3 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 6
7 # Start the Dev Server after making sure we are running under a chroot. 7 # Start the Dev Server after making sure we are running under a chroot.
8 8
9 COMMON_SH="$(dirname "$0")/common.sh" 9 COMMON_SH="$(dirname "$0")/common.sh"
10 . "$COMMON_SH" 10 . "$COMMON_SH"
11 11
12 # Script must be run inside the chroot if not in 'always serve' mode. 12 # Script must be run inside the chroot if not in 'always serve' mode.
13 [[ $1 != "-a" && assert_inside_chroot ]] 13 if [[ "$1" != "-a" ]]
14 then
15 restart_in_chroot_if_needed $*
16 fi
14 17
15 cd ${GCLIENT_ROOT}/src/platform/dev && python devserver.py $* 18 cd ${GCLIENT_ROOT}/src/platform/dev && python devserver.py $*
OLDNEW
« no previous file with comments | « src/scripts/set_shared_user_password.sh ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698