1
0
mirror of https://github.com/avatao-content/test-tutorial-framework synced 2025-07-03 01:26:23 +00:00

Fix certain ifs in hack stuff

This commit is contained in:
Kristóf Tóth
2018-06-18 14:53:10 +02:00
parent f37e07d955
commit 8128866c86
3 changed files with 14 additions and 7 deletions

View File

@ -60,10 +60,14 @@ case ${1:-} in
challenge::build_with_frontend
;;
releasetfw)
[[ -d "$BASEIMAGE_PATH" ]] && baseimage::release || :
if [[ -d "$BASEIMAGE_PATH" ]]; then
baseimage::release
fi
;;
builddocs)
[[ -d "$BASEIMAGE_PATH" ]] && baseimage::builddocs || :
if [[ -d "$BASEIMAGE_PATH" ]]; then
baseimage::builddocs
fi
;;
*)
echo "Usage: tfw.sh [COMMAND]"