mirror of
https://gitlab.alpinelinux.org/alpine/abuild.git
synced 2025-03-11 06:37:31 +00:00
abuild: add -A for print arch
This commit is contained in:
parent
3a48923aa5
commit
2d9dd59b67
@ -1873,6 +1873,7 @@ usage() {
|
||||
echo " [-s SRCDEST] [cmd] ..."
|
||||
echo " $program [-c] -n PKGNAME[-PKGVER]"
|
||||
echo "Options:"
|
||||
echo " -a Print CARCH and exit"
|
||||
echo " -c Enable colored output"
|
||||
echo " -d Disable dependency checking"
|
||||
echo " -f Force specified cmd, even if they are already done"
|
||||
@ -1916,8 +1917,9 @@ usage() {
|
||||
APKBUILD="${APKBUILD:-./APKBUILD}"
|
||||
unset force
|
||||
unset recursive
|
||||
while getopts "cdfFhi:kimnp:P:qrRs:u" opt; do
|
||||
while getopts "AcdfFhi:kimnp:P:qrRs:u" opt; do
|
||||
case $opt in
|
||||
'A') echo "$CARCH"; exit 0;;
|
||||
'c') enable_colors
|
||||
color_opt="-c";;
|
||||
'd') nodeps=1;;
|
||||
|
Loading…
Reference in New Issue
Block a user