mirror of
https://github.com/OpenHands/OpenHands.git
synced 2025-12-26 13:52:43 +08:00
12 lines
374 B
Bash
Executable File
12 lines
374 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Mark the current repository as safe for Git to prevent "dubious ownership" errors,
|
|
# which can occur in containerized environments when directory ownership doesn't match the current user.
|
|
git config --global --add safe.directory "$(realpath .)"
|
|
|
|
# Install `nc`
|
|
sudo apt update && sudo apt install netcat -y
|
|
|
|
# Do common setup tasks
|
|
source .openhands/setup.sh
|