blob: 80c91fb1137ff7628c8e3cac4e3dc8f3b667657d [file] [log] [blame]
#!/bin/bash
# Copyright (c) 2013 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.
SCRIPT_ROOT=$(dirname "$(readlink -f "$0")")
SCRIPT=${SCRIPT_ROOT}/performance/bootperf-bin/$(basename "$0")
if [ ! -f "${SCRIPT}" ]; then
echo "${SCRIPT} not found."
echo "This script must be run inside the chroot. Aborting"
exit 1
fi
exec "${SCRIPT}" "$@"