From 3582c2606e7a002d625df49b0654cea4270c5ef8 Mon Sep 17 00:00:00 2001 From: pwnslinger Date: Tue, 21 Aug 2018 12:40:10 -0700 Subject: [PATCH] fix for package symlinks and sanity_check --- bin/manage-tools | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/manage-tools b/bin/manage-tools index 5c581356..a85f80ca 100755 --- a/bin/manage-tools +++ b/bin/manage-tools @@ -228,7 +228,7 @@ function verify_tool_sanity() { exit 1 fi - if [[ ! -d "$CTF_TOOLS_ROOT/$TOOL" ]]; then + if [[ ! -d "$PWD/$TOOL" ]]; then TOOL="$ACTION" tool_log "invalid tool $TOOL" exit 1 fi @@ -417,8 +417,8 @@ case $ACTION in cat install.log >&2 exit 1 fi - - cd .. + + cd ../bin $0 bin $TOOL ;; uninstall)