Fix sys/user.sh

This commit is contained in:
pancake 2015-09-08 15:53:06 +02:00
parent b40a1e80a4
commit 933bad57a6
2 changed files with 3 additions and 1 deletions

View File

@ -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))

View File

@ -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