Sign in
pigweed
/
third_party
/
github
/
aspect-build
/
bazel-lib
/
87ff85a769751f042ca651345e89f5f808407ace
/
.
/
lib
/
tests
/
run_binary_expansions
/
expansions.sh
blob: 898162acef6c7f549d608f6b4e42420509f0f6a0 [
file
] [
log
] [
blame
]
#!/usr/bin/env bash
set
-
o errexit
-
o nounset
-
o pipefail
mkdir
-
p $
(
dirname $1
)
outfile
=
$1
rm
-
f $outfile
for
each
in
$@
;
do
sanitized
=
$
{
each
/
darwin_arm64
/
PLATFORM
}
sanitized
=
$
{
sanitized
/
k8
/
PLATFORM
}
echo $sanitized
>>
$outfile
done