mirror of
https://codeberg.org/KeybadeBlox/JSRF-Decompilation.git
synced 2026-04-06 20:40:23 +03:00
Handle undefined WINDIR on POSIX platforms
The test for whether it was defined was failing with an error on platforms where it wasn't defined.
This commit is contained in:
parent
57fc53ebfb
commit
d6a356a0c3
2 changed files with 6 additions and 6 deletions
|
|
@ -16,10 +16,10 @@
|
|||
"source_path": "src/JSRF/Jet2.cpp"
|
||||
},
|
||||
"symbol_mappings": {
|
||||
"?main_funcinfo@@3UFuncInfo@@A": "$T1112",
|
||||
"?main_handler@@YAXPAUEHExceptionRecord@@PAKPAXPAU_xDISPATCHER_CONTEXT@@@Z": "$L1116",
|
||||
"?main_handler_unwind1@@YAXXZ": "$L1108",
|
||||
"?main_unwindmap@@3PAUUnwindMapEntry@@A": "$T1118",
|
||||
"?main_funcinfo@@3UEHFuncInfo@@A": "$T1130",
|
||||
"?main_handler@@YAXPAUExceptionRecord@@PAKPAXPAUEHDispatcherContext@@@Z": "$L1134",
|
||||
"?main_handler_unwind1@@YAXXZ": "$L1126",
|
||||
"?main_unwindmap@@3PAUEHUnwindMapEntry@@A": "$T1136",
|
||||
"[.rdata-0]": "[.xdata$x-0]"
|
||||
}
|
||||
},
|
||||
|
|
|
|||
|
|
@ -67,8 +67,8 @@ delink() {
|
|||
# $5: Output path (inside decompile/target/)
|
||||
# Call the right script depending on whether we're on Windows
|
||||
# (this seems like the most reliable method I can find for POSIX sh)
|
||||
if [ -n "$WINDIR" ]; then suffix=.bat
|
||||
else suffix=
|
||||
if [ -n "${WINDIR-}" ]; then suffix=.bat
|
||||
else suffix=
|
||||
fi
|
||||
|
||||
# POSIX compatibility layers for Windows (like in git bash) will
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue