Browse Source

Meta: Do not require Tmux for lagom gdb

Coderdreams 2 năm trước cách đây
mục cha
commit
38bdf4d159
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      Meta/serenity.sh

+ 1 - 1
Meta/serenity.sh

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