xref: /aosp_15_r20/external/minijail/platform2_preinstall.sh (revision 4b9c6d91573e8b3a96609339b46361b5476dd0f9)
1#!/bin/bash
2
3# Copyright 2015 The ChromiumOS Authors
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
11
12sed \
13  -e "s/@BSLOT@/${v}/g" \
14  -e "s:@INCLUDE_DIR@:${include_dir}:g" \
15  "libminijail.pc.in" > "libminijail.pc"
16