From 33eade4f0028f313436240614437f289373f568c Mon Sep 17 00:00:00 2001 From: Kohei Watanabe Date: Fri, 22 Apr 2022 19:47:02 +0900 Subject: [PATCH] set work dir --- install | 1 + 1 file changed, 1 insertion(+) diff --git a/install b/install index f040ad0..165b317 100755 --- a/install +++ b/install @@ -1,5 +1,6 @@ #!/bin/bash set -euo pipefail +cd -- "$(dirname -- "$0")" for dotfile in .*; do [[ $dotfile =~ ^(\.\.?|\.git)$ ]] && continue