Fix installer

This commit is contained in:
2021-10-22 18:11:16 -04:00
parent 234d59ef80
commit 19c816c94b

View File

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