Skip to content

fix: correct corrupted shebang in prepare_hitl_agent.sh - #85

Draft
nam20485 wants to merge 1 commit into
AI-Hypercomputer:mainfrom
nam20485:fix/prepare-hitl-agent-shebang
Draft

fix: correct corrupted shebang in prepare_hitl_agent.sh#85
nam20485 wants to merge 1 commit into
AI-Hypercomputer:mainfrom
nam20485:fix/prepare-hitl-agent-shebang

Conversation

@nam20485

@nam20485 nam20485 commented Aug 8, 2026

Copy link
Copy Markdown

Summary

Line 1 of MaxKernel/prepare_hitl_agent.sh has a corrupted shebang — source#!/bin/bash instead of #!/bin/bash. This was introduced in commit 54e6df5 and has been present since.

Error

$ ./prepare_hitl_agent.sh
./prepare_hitl_agent.sh: line 1: source#!/bin/bash: No such file or directory

The script still runs (bash falls back after the invalid shebang fails), but the error prints on every invocation, which is confusing for first-time users.

Fix

-source#!/bin/bash
+#!/bin/bash

The sibling script prepare_auto_agent.sh has the correct #!/bin/bash on line 1, confirming this is a typo.

Testing

Verified the script runs cleanly with no spurious error after the fix.

@google-cla

google-cla Bot commented Aug 8, 2026

Copy link
Copy Markdown

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request corrects a syntax error in the shebang of the MaxKernel/prepare_hitl_agent.sh script, changing source#!/bin/bash to #!/bin/bash. I have no further feedback to provide as the change is straightforward and correct.

@nam20485
nam20485 marked this pull request as draft August 8, 2026 00:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant