Skip to content

Commit

Permalink
Remove no-recursion flag of tar
Browse files Browse the repository at this point in the history
  • Loading branch information
Hzj-jie committed Aug 9, 2018
1 parent 5e8f04d commit 2a4f3f5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions frontend/ui/otamanager.lua
Expand Up @@ -187,17 +187,17 @@ function OTAManager:_buildLocalPackage()
end
if Device:isAndroid() then
return os.execute(string.format(
"./tar cf %s -T %s --no-recursion",
"./tar cf %s -T %s",
self.installed_package, self.package_indexfile))
else
-- With visual feedback if supported...
if lfs.attributes("./kotar_cpoint", "mode") == "file" then
return os.execute(string.format(
"./tar cf %s -C .. -T %s --no-recursion --checkpoint=200 --checkpoint-action=exec='./kotar_cpoint $TAR_CHECKPOINT create'",
"./tar cf %s -C .. -T %s --checkpoint=200 --checkpoint-action=exec='./kotar_cpoint $TAR_CHECKPOINT create'",
self.installed_package, self.package_indexfile))
else
return os.execute(string.format(
"./tar cf %s -C .. -T %s --no-recursion",
"./tar cf %s -C .. -T %s",
self.installed_package, self.package_indexfile))
end
end
Expand Down

1 comment on commit 2a4f3f5

@Frenzie
Copy link
Member

@Frenzie Frenzie commented on 2a4f3f5 Aug 9, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's the rationale?

Please sign in to comment.