ezpp-oppai-ap/swig/build.sh
2021-06-25 20:26:13 +02:00

20 lines
256 B
Bash
Executable File

#!/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