blob: 502901033640c5bf6423ab9b7df633c8592f5889 [file] [log] [blame]
#!/bin/bash
# Copyright 2018 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
set -e
v=$1
include_dir=$2
target_dir=$3
sed \
-e "s/@BSLOT@/${v}/g" \
-e "s:@INCLUDE_DIR@:${include_dir}:g" \
"qcow_utils/libqcow_utils.pc.in" > "${target_dir}/libqcow_utils.pc"