Adds icu script. Makes use of local variables.
This commit is contained in:
11
.rc.d/icu.sh
Normal file
11
.rc.d/icu.sh
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user