rebuild: update code style
This commit is contained in:
parent
4811fcc29e
commit
428303c9fb
11
rebuild.sh
11
rebuild.sh
@ -9,10 +9,11 @@ numcpus() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
buildsite() {
|
buildsite() {
|
||||||
|
local site="$1"
|
||||||
|
|
||||||
echo "Site: ${1}"
|
echo "Site: ${site}"
|
||||||
|
(
|
||||||
pushd "$1" >/dev/null
|
cd "$site"
|
||||||
|
|
||||||
echo "Cleaning wwwroot directory..."
|
echo "Cleaning wwwroot directory..."
|
||||||
|
|
||||||
@ -43,10 +44,10 @@ buildsite() {
|
|||||||
done
|
done
|
||||||
wait
|
wait
|
||||||
|
|
||||||
echo "Site: ${1} finished."
|
echo "Site: ${site} finished."
|
||||||
echo ""
|
echo ""
|
||||||
|
)
|
||||||
|
|
||||||
popd >/dev/null
|
|
||||||
}
|
}
|
||||||
|
|
||||||
usage() {
|
usage() {
|
||||||
|
Reference in New Issue
Block a user