Jason Jeremy Iman | adffbcb | 2020-08-31 13:21:36 +0900 | [diff] [blame] | 1 | #!/bin/bash |
2 | |||||
3 | # Copyright 2020 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 | |||||
7 | set -e | ||||
8 | |||||
9 | v=$1 | ||||
10 | include_dir=$2 | ||||
11 | out=$3 | ||||
12 | |||||
13 | sed \ | ||||
14 | -e "s/@BSLOT@/${v}/g" \ | ||||
15 | -e "s:@INCLUDE_DIR@:${include_dir}:g" \ | ||||
16 | "libpatchpanel-client.pc.in" > "${out}/libpatchpanel-client.pc" |