The way in which makechrootpkg reads variables from makepkg.conf(5) is
different from makepkg, in that it reads a subset of defined
variables, and only if the were not set in the environment before.

Mention this in the usage text.

Fixes FS#44827
---
 makechrootpkg.in | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/makechrootpkg.in b/makechrootpkg.in
index cd9efce..0b13f0b 100644
--- a/makechrootpkg.in
+++ b/makechrootpkg.in
@@ -46,6 +46,10 @@ usage() {
        echo 'command:'
        echo '    mkarchroot <chrootdir>/root base-devel'
        echo ''
+       echo 'This script reads {SRC,SRCPKG,PKG,LOG}DEST, MAKEFLAGS and 
PACKAGER'
+       echo 'from makepkg.conf(5), if those variables are not part of the'
+       echo 'environment.'
+       echo ''
        echo "Default makepkg args: ${makepkg_args[*]}"
        echo ''
        echo 'Flags:'
-- 
2.9.0

Reply via email to