From 722bdc1199bc9e8979a643a50befed1dcc809aed Mon Sep 17 00:00:00 2001
From: Chris Coley <chris@codingallnight.com>
Date: Tue, 9 Jan 2024 23:36:42 -0800
Subject: [PATCH] Remove reliance on '--relative-to' option of realpath

---
 install | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/install b/install
index 50eaa28..30f1f92 100755
--- a/install
+++ b/install
@@ -1,7 +1,8 @@
 #!/bin/bash
 
 # Get the base directory relative to the home directory
-BASEDIR="$(realpath --relative-to=${HOME} "$(dirname ${BASH_SOURCE[0]})")"
+BASEDIR="$(realpath "$(dirname "${BASH_SOURCE[0]}")")"
+BASEDIR="${BASEDIR#"$(realpath "$HOME")/"}"
 
 
 # Bash
-- 
GitLab