1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 00:07:36 +00:00

Meta: Do not require Tmux for lagom gdb

This commit is contained in:
Coderdreams 2023-04-02 23:35:37 -03:00 committed by Tim Flynn
parent 994a861019
commit 38bdf4d159

View file

@ -463,12 +463,12 @@ if [[ "$CMD" =~ ^(build|install|image|copy-src|run|gdb|test|rebuild|recreate|kad
fi fi
;; ;;
gdb) gdb)
command -v tmux >/dev/null 2>&1 || die "Please install tmux!"
if [ "$TARGET" = "lagom" ]; then if [ "$TARGET" = "lagom" ]; then
[ $# -ge 1 ] || usage [ $# -ge 1 ] || usage
build_target "$@" build_target "$@"
run_gdb "${CMD_ARGS[@]}" run_gdb "${CMD_ARGS[@]}"
else else
command -v tmux >/dev/null 2>&1 || die "Please install tmux!"
build_target build_target
build_target install build_target install
build_image build_image