makechrootpkg: explain load_vars
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
This commit is contained in:
parent
e10ce7fc70
commit
06c98c1b54
|
@ -46,6 +46,10 @@ usage() {
|
||||||
echo 'command:'
|
echo 'command:'
|
||||||
echo ' mkarchroot <chrootdir>/root base-devel'
|
echo ' mkarchroot <chrootdir>/root base-devel'
|
||||||
echo ''
|
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 "Default makepkg args: ${makepkg_args[*]}"
|
||||||
echo ''
|
echo ''
|
||||||
echo 'Flags:'
|
echo 'Flags:'
|
||||||
|
|
Loading…
Reference in New Issue