ezpp-oppai-ap/swig/build.sh

20 lines
256 B
Bash
Raw Normal View History

2021-06-25 18:26:13 +00:00
#!/bin/sh
runall() {
for d in ./*/; do
[ "$d" = "." ] && continue
cd "$d"
./build.sh || return $?
[ ! -z $PUBLISH ] && ./publish.sh
cd ..
done
}
dir="$(dirname "$0")"
olddir="$(pwd)"
cd "$dir"
runall
res=$?
cd "$olddir"
exit $res