blob: c05d2dfefad847b6f35b5d6ce41200d625afd5e5 [file] [log] [blame]
Garrick Evans4b66f632019-01-24 15:09:16 +09001#!/bin/bash
2
3# Copyright 2016 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
11out=$3
12
13sed \
14 -e "s/@BSLOT@/${v}/g" \
15 -e "s:@INCLUDE_DIR@:${include_dir}:g" \
Garrick Evansaa4a9ed2020-04-30 14:33:23 +090016 "libpatchpanel-util.pc.in" > "${out}/libpatchpanel-util.pc"