This commit is contained in:
TheiLLeniumStudios
2023-02-06 12:13:22 +00:00
parent 1d1110a6a0
commit 54fdcb1089
+3 -1
View File
@@ -69,7 +69,8 @@ fi
resources_to_restart= resources_to_restart=
echo "${DIFF}" | while read -r changed; do IFS=$'\n'
for changed in $DIFF; do
STATUS=${changed:0:1} STATUS=${changed:0:1}
changed=${changed#??} changed=${changed#??}
if beginswith ${RESOURCES_FOLDER} "${changed}"; then if beginswith ${RESOURCES_FOLDER} "${changed}"; then
@@ -78,6 +79,7 @@ echo "${DIFF}" | while read -r changed; do
resources_to_restart="$(append_if_not_exists "$filtered" "$resources_to_restart")" resources_to_restart="$(append_if_not_exists "$filtered" "$resources_to_restart")"
fi fi
done done
unset IFS
echo $resources_to_restart echo $resources_to_restart