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:
@ -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]"
|
||||
|
Reference in New Issue
Block a user