Browse Source

fix return code for build-* and -s option

No idea how that slipped in there, damn.
master 2.2.0
Lephenixnoir 1 month ago
parent
commit
0d6a7728a1
Signed by: Lephenixnoir GPG Key ID: 1BBA026E13FC0495
1 changed files with 9 additions and 3 deletions
  1. +9
    -3
      fxsdk/fxsdk.sh

+ 9
- 3
fxsdk/fxsdk.sh View File

@ -323,13 +323,19 @@ case $1 in
# Project compilation
"build"|"b")
fxsdk_build
[[ $1 == "-s" ]] && fxsdk_send;;
if [[ "$2" == "-s" ]]; then
fxsdk_send
fi;;
"build-fx"|"bf"|"bfx")
fxsdk_build_fx
[[ $1 == "-s" ]] && fxsdk_send_fx;;
if [[ "$2" == "-s" ]]; then
fxsdk_send_fx
fi;;
"build-cg"|"bc"|"bcg")
fxsdk_build_cg
[[ $1 == "-s" ]] && fxsdk_send_cg;;
if [[ "$2" == "-s" ]]; then
fxsdk_send_cg
fi;;
# Install
"send"|"s")


Loading…
Cancel
Save