blob: 4d60ea3ee56571645aae432019e2445fec7ed253 [file] [log] [blame]
#!/bin/bash
# Copyright (c) 2011 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.
# Sets script_root relative to this directory.
# From platform/dev/host.
if [ -f /etc/debian_chroot ]; then
echo "Must be run from outside the chroot." 2> /dev/null
exit 1
fi
CROSTESTUTILS_DIR="$(dirname "$(readlink -f "$0")")"
SCRIPT_ROOT="${CROSTESTUTILS_DIR}/../../scripts"