Index: start_devserver |
diff --git a/start_devserver b/start_devserver |
index 6d4cddbba4d4936c08f5920e5e0dba1da6ba8e1c..24f2a8739a43558013cd102bbc296abb43b8530a 100755 |
--- a/start_devserver |
+++ b/start_devserver |
@@ -1,5 +1,4 @@ |
#!/bin/bash |
- |
# Copyright (c) 2010 The Chromium OS Authors. All rights reserved. |
# Use of this source code is governed by a BSD-style license that can be |
# found in the LICENSE file. |
@@ -32,13 +31,5 @@ if [[ "$1" != "--archive_dir" ]]; then |
restart_in_chroot_if_needed "$@" |
fi |
-# Temporary workaround: to start devserver for update engine, pass in args |
-# --client_prefix ChromeOSUpdateEngine |
- |
-# Set PKG_INSTALL_MASK if it's not set already. |
-if [ -z "${PKG_INSTALL_MASK+x}" ]; then |
- export PKG_INSTALL_MASK="${DEFAULT_INSTALL_MASK}" |
-fi |
-echo PKG_INSTALL_MASK=$PKG_INSTALL_MASK |
- |
-cd ${GCLIENT_ROOT}/src/platform/dev && python devserver.py "$@" |
+# This is the location of the script now. |
+exec $(dirname ${0})/../../chroot/usr/bin/start_devserver "$@" |
sosa
2011/03/01 21:49:29
Heh ... so I realized this won't actually work for
|