Shell script compliance

This commit is contained in:
Wetitpig 2019-02-12 16:23:21 +08:00 committed by Leonid Pliushch
parent 42c3826b07
commit d50c847f11
25 changed files with 134 additions and 134 deletions

View File

@ -11,7 +11,7 @@ test -f $HOME/.termuxrc && . $HOME/.termuxrc
: ${TERMUX_INSTALL_DEPS:="-s"}
# Set TERMUX_INSTALL_DEPS to -s unless set to -i
_show_usage () {
_show_usage() {
echo "Usage: ./build-all.sh [-a ARCH] [-d] [-i] [-o DIR]"
echo "Build all packages."
echo " -a The architecture to build for: aarch64(default), arm, i686, x86_64 or all."

View File

@ -247,7 +247,7 @@ termux_setup_cmake() {
# First step is to handle command-line arguments. Not to be overridden by packages.
termux_step_handle_arguments() {
_show_usage () {
_show_usage() {
echo "Usage: ./build-package.sh [-a ARCH] [-d] [-D] [-f] [-i] [-I] [-q] [-s] [-o DIR] PACKAGE"
echo "Build a package by creating a .deb file in the debs/ folder."
echo " -a The architecture to build for: aarch64(default), arm, i686, x86_64 or all."