mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-04 10:25:25 +01:00
Environment variables "pollute" the build environment of packages and can affect their output. This change results in the removal of some files from packages that were not meant to be packaged. It also removes the need for a workaround in automake 1.10.3 to manually remove such files. Variables are now saved in an .env file for each system and included in scripts that need them using the dot operation.
10 lines
229 B
Bash
Executable file
10 lines
229 B
Bash
Executable file
#!/bin/bash
|
|
|
|
# SPDX-FileCopyrightText: 2022 Andrius Štikonas <andrius@stikonas.eu>
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
# Replace this hook if you wish to do more
|
|
|
|
. /usr/src/.env
|
|
|
|
exec env - PATH="${PREFIX}/bin" PS1="\w # " bash -i
|