Alex Deymo | d2956cc | 2015-08-17 15:39:40 -0700 | [diff] [blame^] | 1 | #!/bin/bash |
2 | |||||
3 | # Copyright 2015 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 | OUT=$1 | ||||
10 | shift | ||||
11 | PC_IN=$1 | ||||
12 | shift | ||||
13 | INCLUDE_DIR=$1 | ||||
14 | shift | ||||
15 | |||||
16 | sed \ | ||||
17 | -e "s|@INCLUDE_DIR@|${INCLUDE_DIR}|g" \ | ||||
18 | "${PC_IN}.pc.in" > "${OUT}/${PC_IN}.pc" |