File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
2- set -e
2+ set -ex
33
44# Log to both stderr and log file
55LOG_FILE=" /tmp/reva-claude-startup-hook.log"
@@ -15,10 +15,10 @@ echo "[SessionStart Hook] Remote environment detected. Starting setup..."
1515
1616echo " === 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
2020if [ ! -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"
You can’t perform that action at this time.
0 commit comments