pack: Factorize store references in wrapper.
authorLudovic Courtès <ludo@gnu.org>
Wed, 13 May 2020 12:38:12 +0000 (14:38 +0200)
committerLudovic Courtès <ludo@gnu.org>
Thu, 14 May 2020 15:21:27 +0000 (17:21 +0200)
commit0cd13e72f2a1f85ad6facc485248685276981d63
tree9ab049f201bff54f98750c34a8de17195a37cbd9
parentfde2aec3f498d5ec6db2121d72068e2b203e86cd
pack: Factorize store references in wrapper.

* gnu/packages/aux-files/run-in-namespace.c (original_store): New variable.
(exec_in_user_namespace, exec_with_proot, main): Use it instead of the
literal "@STORE_DIRECTORY@".
gnu/packages/aux-files/run-in-namespace.c