mirror of
https://github.com/radareorg/radare2.git
synced 2024-10-07 02:23:58 +00:00
Fix sys/user.sh
This commit is contained in:
parent
b40a1e80a4
commit
933bad57a6
1
Makefile
1
Makefile
@ -206,6 +206,7 @@ user-wrap=echo "\#!/bin/sh" > ~/bin/$1 \
|
||||
user-install:
|
||||
mkdir -p ~/bin
|
||||
$(foreach mod,$(R2BINS),$(call user-wrap,$(mod)))
|
||||
cd ~/bin ; ln -fs radare2 r2
|
||||
|
||||
user-uninstall:
|
||||
$(foreach mod,$(R2BINS),rm -f ~/bin/$(mod))
|
||||
|
@ -30,7 +30,8 @@ if [ ! -d "${HOME}" ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
ROOT=${HOME}/.radare2-prefix
|
||||
ROOT="${HOME}/.radare2-prefix"
|
||||
mkdir -p "${ROOT}"
|
||||
|
||||
if [ "${HARDEN}" = 1 ]; then
|
||||
./sys/build-harden.sh "${ROOT}" && ${MAKE} symstall
|
||||
|
Loading…
Reference in New Issue
Block a user