Fix installer
This commit is contained in:
@@ -5,14 +5,14 @@
|
|||||||
parent="${BASH_SOURCE[0]}"
|
parent="${BASH_SOURCE[0]}"
|
||||||
parent=${parent%/*}
|
parent=${parent%/*}
|
||||||
|
|
||||||
[[ -f functions ]] && . functions || exit 1
|
|
||||||
|
|
||||||
is_root
|
|
||||||
|
|
||||||
source="/home/bryan/shared/hartmanlab"
|
source="/home/bryan/shared/hartmanlab"
|
||||||
|
|
||||||
[[ "$PWD" != "$source" ]] && pushd "$source" || exit $?
|
[[ "$PWD" != "$source" ]] && pushd "$source" || exit $?
|
||||||
|
|
||||||
|
[[ -f functions ]] && . functions || exit 1
|
||||||
|
|
||||||
|
is_root
|
||||||
|
|
||||||
install -m 644 ./functions /usr/local/bin/
|
install -m 644 ./functions /usr/local/bin/
|
||||||
|
|
||||||
for script in script-*; do
|
for script in script-*; do
|
||||||
|
|||||||
Reference in New Issue
Block a user