• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#!/bin/bash
2
3# Copyright 2018 The Chromium OS Authors. All rights reserved.
4# Use of this source code is governed by a BSD-style license that can be
5# found in the LICENSE file.
6
7set -e
8
9v=$1
10include_dir=$2
11target_dir=$3
12
13sed \
14  -e "s/@BSLOT@/${v}/g" \
15  -e "s:@INCLUDE_DIR@:${include_dir}:g" \
16  "qcow_utils/libqcow_utils.pc.in" > "${target_dir}/libqcow_utils.pc"
17