File tree Expand file tree Collapse file tree 1 file changed +8
-9
lines changed
Expand file tree Collapse file tree 1 file changed +8
-9
lines changed Original file line number Diff line number Diff line change 11#! /bin/bash
22
3- if [ ! -f src/main/resources/linux-x86-64/libdwarf.so ]; then
4- curl -o src/main/resources/linux-x86-64/libdwarf.so -L --create-dirs https://github.com/cesena/libdwarf-ghidra2dwarf/releases/download/latest/libdwarf.so
5- fi
6- if [ ! -f src/main/resources/win32-x86-64/libdwarf.dll ]; then
7- curl -o src/main/resources/win32-x86-64/libdwarf.dll -L --create-dirs https://github.com/cesena/libdwarf-ghidra2dwarf/releases/download/latest/libdwarf.dll
8- fi
9- if [ ! -f src/main/resources/darwin/libdwarf.dylib ]; then
10- curl -o src/main/resources/darwin/libdwarf.dylib -L --create-dirs https://github.com/cesena/libdwarf-ghidra2dwarf/releases/download/latest/libdwarf.dylib
11- fi
3+ [ ! -f src/main/resources/linux-x86-64/libdwarf.so ] && \
4+ curl -o src/main/resources/linux-x86-64/libdwarf.so -L --create-dirs https://github.com/cesena/libdwarf-ghidra2dwarf/releases/download/latest/libdwarf.so
5+
6+ [ ! -f src/main/resources/win32-x86-64/libdwarf.dll ] && \
7+ curl -o src/main/resources/win32-x86-64/libdwarf.dll -L --create-dirs https://github.com/cesena/libdwarf-ghidra2dwarf/releases/download/latest/libdwarf.dll
8+
9+ [ ! -f src/main/resources/darwin/libdwarf.dylib ] && \
10+ curl -o src/main/resources/darwin/libdwarf.dylib -L --create-dirs https://github.com/cesena/libdwarf-ghidra2dwarf/releases/download/latest/libdwarf.dylib
1211
1312mvn package
You can’t perform that action at this time.
0 commit comments