mirror of
https://codeberg.org/KeybadeBlox/JSRF-Decompilation.git
synced 2026-02-20 02:07:02 +03:00
Fix unwanted delinking path expansion on Windows
In short, we ran afoul of this issue because the Ghidra delinking
headless script begins its arguments with slashes, making them look like
absolute paths:
https://stackoverflow.com/questions/7250130/how-to-stop-mingw-and-msys-from-mangling-path-names-given-at-the-command-line
This commit is contained in:
parent
a8b04d24d5
commit
91537e765a
1 changed files with 6 additions and 0 deletions
|
|
@ -58,6 +58,12 @@ delink() {
|
|||
else suffix=
|
||||
fi
|
||||
|
||||
# POSIX compatibility layers for Windows (like in git bash) will
|
||||
# interpret arguments like /exporter as filepaths and attempt to
|
||||
# convert them to Windows paths, breaking them; this variable disables
|
||||
# that
|
||||
export MSYS_NO_PATHCONV=1
|
||||
|
||||
"$1/support/analyzeHeadless$suffix" "$2" "$3"\
|
||||
-process default.xbe\
|
||||
-noanalysis\
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue