File tree Expand file tree Collapse file tree 1 file changed +1
-11
lines changed
Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Original file line number Diff line number Diff line change @@ -20,16 +20,6 @@ GHIDRA_GIT=$(readlink -f "${CLAUDE_PROJECT_DIR}/../ghidra")
2020if [ ! -d " ${GHIDRA_GIT} " ]; then
2121 git clone --depth 1 " https://github.com/NationalSecurityAgency/ghidra.git" " ${GHIDRA_GIT} "
2222 echo " Cloned Ghidra to ${GHIDRA_GIT} "
23- pushd " ${GHIDRA_GIT} " > /dev/null
24- echo " Fetching Ghidra Dependencies"
25- gradle -I gradle/support/fetchDependencies.gradle
26- gradle buildGhidra
27- pushd " /opt" > /dev/null
28- unzip " ${GHIDRA_GIT} /build/dist/*.zip"
29- mv ghidra_* _DEV /opt/ghidra
30- echo " Built development Ghidra. Installed in /opt/ghidra"
31- popd
32- popd > /dev/null
3323fi
3424
3525# Install Ghidra latest
@@ -46,7 +36,7 @@ if [ ! -d "/opt/ghidra" ]; then
4636 echo " Downloading Ghidra ${GHIDRA_VERSION} from ${GHIDRA_URL} ..."
4737
4838 # Download Ghidra
49- if ! wget -q " $GHIDRA_URL " -O /tmp/ghidra.zip 2> /dev/null; then
39+ if ! curl -fsSL " $GHIDRA_URL " -o /tmp/ghidra.zip 2> /dev/null; then
5040 echo " Download of ${GHIDRA_URL} failed"
5141 exit 2
5242 fi
You can’t perform that action at this time.
0 commit comments