From 58782c2d75310eabf54ada4db7a95de59931b6ed Mon Sep 17 00:00:00 2001 From: crater2150 Date: Mon, 4 Aug 2025 21:11:15 +0200 Subject: [PATCH] barrierc: Fix paths --- barrierc/run | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/barrierc/run b/barrierc/run index f79b3ca..c536d0a 100755 --- a/barrierc/run +++ b/barrierc/run @@ -1,13 +1,13 @@ #!/bin/zsh -if [[ ! -e ${0:a:h}/server ]] then +if [[ ! -e ${0:A:h}/server ]] then <<-ERROR Service requires configuration! - Create \`${0:a:h}/server\` containing the target server name + Create \`${0:A:h}/server\` containing the target server name ERROR exit 1 fi -source ${0:a:h:h}/import-env.zsh +source ${0:A:h:h}/import-env.zsh import-env awesome || exit 1 exec 2>&1 -exec barrierc --no-daemon $(<${0:a:h}/server) +exec barrierc --no-daemon $(<${0:A:h}/server)