blob: dfbef6d0c2a226d168b7ba2ef19b148a3f884297 [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"
Garrick Evans08843932019-09-17 14:41:08 +090017
18sed \
19 -e "s/@BSLOT@/${v}/g" \
20 -e "s:@INCLUDE_DIR@:${include_dir}:g" \
21 "libpatchpanel-client.pc.in" > "${out}/libpatchpanel-client.pc"