From bbaaeb72c2911ec9295936600e11f186dd1ca128 Mon Sep 17 00:00:00 2001 From: Tom Hicks Date: Fri, 20 Sep 2024 16:55:01 -0700 Subject: [PATCH] Adds icu script. Makes use of local variables. --- .rc.d/icu.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .rc.d/icu.sh diff --git a/.rc.d/icu.sh b/.rc.d/icu.sh new file mode 100644 index 0000000..eb290fc --- /dev/null +++ b/.rc.d/icu.sh @@ -0,0 +1,11 @@ +function { + local icu_path=/opt/homebrew/opt/icu4c + local bin_path=$icu_path/bin + local sbin_path=$icu_path/sbin + if [ -d bin_path ]; then + path=($bin_path $path) + fi + if [ -d $sbin_path ]; then + path=($sbin_path $path) + fi +}