#!/bin/bash | |
# Copyright 2017 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. | |
# | |
# Run server_db_sync script to sync local server_db with inventory service. | |
# | |
# This script is a canonical template that can be copied to other | |
# repositories. | |
set -eu | |
readonly bin_dir="$(readlink -e -- "$(dirname -- "$0")")" | |
exec "${bin_dir}/python_venv" -m skylab_venv.scripts.server_db_sync "$@" |