aboutsummaryrefslogtreecommitdiff
path: root/platform2_preinstall.sh
blob: 7d19d994057c626d6ebd3ef2e8465d9b83a795b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/bash

# Copyright 2015 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

sed \
  -e "s/@BSLOT@/${v}/g" \
  -e "s:@INCLUDE_DIR@:${include_dir}:g" \
  "libminijail.pc.in" > "libminijail.pc"