From bf32e0572535df8e25c685f89daccc3e460da03e Mon Sep 17 00:00:00 2001 From: Martin Winkler Date: Sun, 29 May 2022 18:25:19 +0200 Subject: [PATCH] WIP change to new sequencer location --- install.sh | 2 +- installCompletion.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 993bdb4..8805bbe 100755 --- a/install.sh +++ b/install.sh @@ -57,7 +57,7 @@ fi [ -z "${SEQUENCER_USER_SEQS}" ] && SEQUENCER_USER_SEQS="${defaultUserSeqs}" # Install sequncer script -ln -s "${sequencerDir}/sequencer/sequencer.sh" "/usr/local/bin" +ln -s "${sequencerDir}/sequencer.sh" "/usr/local/bin" if [ "${SEQUENCER_USER_SEQS}" != "${sequencerDir}/seqs" ]; then ln -sT "${sequencerDir}/seqs" "${SEQUENCER_USER_SEQS}" fi diff --git a/installCompletion.sh b/installCompletion.sh index b4e378f..0cdd33f 100755 --- a/installCompletion.sh +++ b/installCompletion.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash # Get script working directory -sq_dir="$(cd "$(dirname -- "$(realpath -- "${BASH_SOURCE[0]}")")" >>/dev/null 2>&1 && pwd)" +sq_dir="$(cd "$(dirname -- "$(readlink -f -- "${BASH_SOURCE[0]}")")" >>/dev/null 2>&1 && pwd)" _sequencerCompletion() { local seqcomp_loc="${sq_dir}/sqn-completion.bash"