mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-02-10 18:05:41 +08:00
24 lines
255 B
Bash
Executable File
24 lines
255 B
Bash
Executable File
#!/bin/bash
|
|
|
|
SCRIPT=$(readlink -f "$0")
|
|
SCRIPTPATH=$(dirname "$SCRIPT")
|
|
|
|
cd "$SCRIPTPATH"
|
|
|
|
for d in */ ; do
|
|
|
|
echo "$d"
|
|
cd "$SCRIPTPATH/$d"
|
|
|
|
if [ -f "fetch.sh" ]
|
|
then
|
|
bash "fetch.sh"
|
|
fi
|
|
if [ -f "build.sh" ]
|
|
then
|
|
bash "build.sh"
|
|
fi
|
|
|
|
cd "$SCRIPTPATH"
|
|
done
|