Add option to disable steps

This commit is contained in:
BtbN 2020-09-03 19:31:29 +02:00
parent ce2c884aaf
commit 70b70e5bb7

View file

@ -7,8 +7,11 @@ get_output() {
( (
SELF="$1" SELF="$1"
source $1 source $1
ffbuild_enabled || exit 0 if ffbuild_enabled; then
ffbuild_$2 || exit 0 ffbuild_$2 || exit 0
else
ffbuild_un$2 || exit 0
fi
) )
} }