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:
Alad Wenter 2016-07-22 15:37:24 +02:00 committed by Jan Alexander Steffens (heftig)
parent e10ce7fc70
commit 06c98c1b54
No known key found for this signature in database
GPG Key ID: A5E9288C4FA415FA
1 changed files with 4 additions and 0 deletions

View File

@ -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:'