зеркало из https://github.com/mozilla/normandy.git
19 строки
465 B
Bash
Executable File
19 строки
465 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -eu
|
|
|
|
if [[ $# -lt 1 ]]; then
|
|
echo "usage: $(basename $0) MOZ-CENTRAL" >&2
|
|
exit 1
|
|
fi
|
|
|
|
baseDir="$(dirname "$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )")"
|
|
mozCentral="$1"
|
|
src="${mozCentral}/browser/extensions/shield-recipe-client"
|
|
dest="${baseDir}/"
|
|
|
|
while read -r line || [[ -n "${line}" ]]; do
|
|
mkdir -p "$(dirname "${dest}/${line}")"
|
|
cp -r "${src}/${line}" "$(dirname "${dest}/${line}")"
|
|
done < "${baseDir}/build-includes.txt"
|