if [ $# = 0 ]; then
- paths="$codex"
+ paths="$CODEX_ROOT"
else
for i in "$@"; do
case "$i" in
(*/*) ;;
(*)
if ! [ -d "$i" ]; then
- j=$(find "$codex" -maxdepth 3 -name "$i" -type d -print -quit)
+ j=$(find "$CODEX_ROOT" -maxdepth 3 -name "$i" -type d -print -quit)
[ -d "$j" ] && i="$j"
fi
;;
[SM-Commit] GIT changes to master sorcery by Ismael Luceno (43e2cd7fbc6cccdcba4411f0f2309948fec37da1),
Ismael Luceno, 08/25/2023