Skip to content

Commit d8ff461

Browse files
committed
Shallow clone, print all messages
1 parent b6f0171 commit d8ff461

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.claude/setup-environment.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env bash
2-
set -e
2+
set -ex
33

44
# Log to both stderr and log file
55
LOG_FILE="/tmp/reva-claude-startup-hook.log"
@@ -15,10 +15,10 @@ echo "[SessionStart Hook] Remote environment detected. Starting setup..."
1515

1616
echo "=== Setting up Claude Code Web Environment for ReVa ==="
1717

18-
GHIDRA_GIT="${CLAUDE_PROJECT_DIR}/../ghidra"
18+
GHIDRA_GIT=$(readlink -f "${CLAUDE_PROJECT_DIR}/../ghidra")
1919

2020
if [ ! -d "${GHIDRA_GIT}" ]; then
21-
git clone "https://github.com/NationalSecurityAgency/ghidra.git" "${GHIDRA_GIT}"
21+
git clone --depth 1 "https://github.com/NationalSecurityAgency/ghidra.git" "${GHIDRA_GIT}"
2222
echo "Cloned Ghidra to ${GHIDRA_GIT}"
2323
pushd "${GHIDRA_GIT}" > /dev/null
2424
echo "Fetching Ghidra Dependencies"

0 commit comments

Comments
 (0)