Fix uninitialized issue in core/cmd and another path fix for sdk.sh
This commit is contained in:
parent
b9df2dc577
commit
314f9d0e57
2 changed files with 7 additions and 4 deletions
|
|
@ -2094,7 +2094,7 @@ next2:
|
|||
int rc = 0;
|
||||
if (ptr) {
|
||||
char *f, *ptr2 = strchr (ptr + 1, '!');
|
||||
ut64 addr;
|
||||
ut64 addr = core->offset;
|
||||
bool addr_is_set = false;
|
||||
char *tmpbits = NULL;
|
||||
const char *offstr = NULL;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
#!/bin/sh
|
||||
|
||||
SDKDIR=/tmp/r2-sdk
|
||||
WRKDIR=/tmp
|
||||
SDKDIR=${WRKDIR}/r2-sdk
|
||||
if [ -n "$1" ]; then
|
||||
if [ -f "$1" ]; then
|
||||
echo "Target directory exists. Cant build the SDK in there"
|
||||
|
|
@ -31,8 +32,10 @@ AR=`uname -m`
|
|||
SF=r2sdk-${OS}-${AR}
|
||||
|
||||
(
|
||||
cd ${SDKDIR}/..
|
||||
cd ${WRKDIR}
|
||||
mv r2-sdk ${SF}
|
||||
zip -r ${SF}.zip ${SF}
|
||||
)
|
||||
mv ${SDKDIR}/../${SF}.zip .
|
||||
mv ${WRKDIR}/${SF} .
|
||||
mv ${WRKDIR}/${SF}.zip .
|
||||
ln -fs ${SF} r2sdk
|
||||
|
|
|
|||
Loading…
Reference in a new issue