mirror of
https://github.com/danieldemus/openhab-core.git
synced 2025-01-11 13:41:53 +01:00
9 lines
283 B
Bash
9 lines
283 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
find -type d -name "ESH-INF" | grep -v -e '/target/' -e 'src/main/resources/ESH-INF' | while read ESHINF_DIR; do
|
||
|
PROJECT_DIR="$(dirname "${ESHINF_DIR}")"
|
||
|
mkdir -p "${PROJECT_DIR}/src/main/resources"
|
||
|
mv "${ESHINF_DIR}" "${PROJECT_DIR}/src/main/resources"
|
||
|
done
|
||
|
|