mirror of
https://github.com/flatpak/flatpak.git
synced 2026-03-22 00:41:55 -04:00
build: Export FLATPAK_ID and FLATPAK_ARCH
These are useful to have when building things. Closes: #1052 Approved by: alexlarsson
This commit is contained in:
committed by
Atomic Bot
parent
bc2d72adeb
commit
bbdf2d11c8
@@ -350,6 +350,8 @@ flatpak_builtin_build (int argc, char **argv, GCancellable *cancellable, GError
|
||||
|
||||
add_args (argv_array,
|
||||
"--setenv", "FLATPAK_DEST", dest,
|
||||
"--setenv", "FLATPAK_ID", id,
|
||||
"--setenv", "FLATPAK_ARCH", runtime_ref_parts[2],
|
||||
NULL);
|
||||
|
||||
app_context = flatpak_app_compute_permissions (metakey,
|
||||
|
||||
Reference in New Issue
Block a user