mirror of
https://github.com/mjl-/mox.git
synced 2024-12-26 16:33:47 +03:00
8 lines
228 B
Bash
8 lines
228 B
Bash
|
#!/bin/sh
|
||
|
rm -r licenses
|
||
|
set -e
|
||
|
for p in $(cd vendor && find . -iname '*license*' -or -iname '*licence*' -or -iname '*notice*' -or -iname '*patent*'); do
|
||
|
(set +e; mkdir -p $(dirname licenses/$p))
|
||
|
cp vendor/$p licenses/$p
|
||
|
done
|