Browse Source

fix(update-lgsm): cd functionsdir but never back

pull/4140/head
Lucas Briese 3 years ago
parent
commit
a84fec2241
  1. 2
      lgsm/functions/command_update_linuxgsm.sh

2
lgsm/functions/command_update_linuxgsm.sh

@ -182,6 +182,7 @@ fi
# Check and update modules.
if [ -n "${functionsdir}" ]; then
if [ -d "${functionsdir}" ]; then
(
cd "${functionsdir}" || exit
for functionfile in *; do
# check if module exists in the repo and remove if missing.
@ -225,6 +226,7 @@ if [ -n "${functionsdir}" ]; then
fi
fi
done
)
fi
fi

Loading…
Cancel
Save