Adds icu script. Makes use of local variables.

This commit is contained in:
Tom Hicks
2024-09-20 16:55:01 -07:00
parent 8efd48a3d7
commit bbaaeb72c2

11
.rc.d/icu.sh Normal file
View File

@@ -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
}