Fix typo in staging directory based file removal

Fixes: 74fe4c9 Remove files removed by Steam update
This commit is contained in:
Ben Peddell 2016-01-29 22:54:25 +10:00
parent c4c47402c8
commit 425e4f07f9

View File

@ -1068,7 +1068,7 @@ doUpdate() {
find Engine ShooterGame linux64 -depth -print |
grep -v '^ShooterGame/\(Saved\|Content/Mods\)' |
while read f; do
if [ ! -e "staging/${f}" ]; then
if [ ! -e "${arkStagingDir}/${f}" ]; then
if [ -f "$f" ]; then
rm "${f}"
else