mirror of
https://github.com/iLLeniumStudios/fivem-resource-watcher
synced 2024-02-26 13:38:52 +01:00
Update
This commit is contained in:
+3
-1
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user