mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-11-10 10:05:18 +00:00
8 lines
201 B
Bash
Executable File
8 lines
201 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
for D in ../x/*; do
|
|
if [ -d "${D}" ]; then
|
|
rm -rf "./$(echo $D | awk -F/ '{print $NF}')"
|
|
mkdir -p "./$(echo $D | awk -F/ '{print $NF}')" && cp -r $D/spec/* "$_"
|
|
fi
|
|
done |