From 19c816c94b6705f28be7bc61519dfb215416a5b8 Mon Sep 17 00:00:00 2001 From: Bryan Roessler Date: Fri, 22 Oct 2021 18:11:16 -0400 Subject: [PATCH] Fix installer --- script-install-manual-scripts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/script-install-manual-scripts b/script-install-manual-scripts index 64d8e9a0..35499f61 100755 --- a/script-install-manual-scripts +++ b/script-install-manual-scripts @@ -5,14 +5,14 @@ parent="${BASH_SOURCE[0]}" parent=${parent%/*} -[[ -f functions ]] && . functions || exit 1 - -is_root - source="/home/bryan/shared/hartmanlab" [[ "$PWD" != "$source" ]] && pushd "$source" || exit $? +[[ -f functions ]] && . functions || exit 1 + +is_root + install -m 644 ./functions /usr/local/bin/ for script in script-*; do