mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-04-29 12:14:13 +00:00
Add licenses to the scripts: ``` devicemodel/samples/apl-mrb/launch_uos.sh devicemodel/samples/apl-up2/launch_uos.sh devicemodel/samples/nuc/launch_hard_rt_vm.sh devicemodel/samples/nuc/launch_uos.sh devicemodel/samples/nuc/launch_vxworks.sh devicemodel/samples/nuc/launch_win.sh devicemodel/samples/nuc/launch_zephyr.sh hypervisor/scripts/genld.sh ``` Tracked-On: #4061 Signed-off-by: lirui34 <ruix.li@intel.com>
16 lines
295 B
Bash
Executable File
16 lines
295 B
Bash
Executable File
#!/bin/bash
|
|
# Copyright (C) 2019 Intel Corporation.
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
in=$1
|
|
out=$2
|
|
config=$3
|
|
|
|
cp $in $out
|
|
grep -v "^#" ${config} | while read line; do
|
|
IFS='=' read -ra arr <<<"$line"
|
|
field=${arr[0]}
|
|
value=${arr[1]}
|
|
sed -i "s/\b$field\b/$value/g" $out
|
|
done
|