[Rpm-maint] [rpm-software-management/rpm] Remove invalid TODO comment on Lua scriptlet cwd (#1375)

Panu Matilainen notifications at github.com
Mon Sep 28 07:17:59 UTC 2020


Contrary to what the TODO comment said, we cannot rely on chroot cwd
because an API user could've changed to some other directory in the
meanwhile. For Lua scripts, we simply need to save whatever the directory
we are in and return to that, to avoid breaking API users.
You can view, comment on, or merge this pull request online at:

  https://github.com/rpm-software-management/rpm/pull/1375

-- Commit Summary --

  * Remove invalid TODO comment on Lua scriptlet cwd

-- File Changes --

    M lib/rpmscript.c (1)

-- Patch Links --

https://github.com/rpm-software-management/rpm/pull/1375.patch
https://github.com/rpm-software-management/rpm/pull/1375.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/1375
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20200928/90c919db/attachment.html>


More information about the Rpm-maint mailing list