Browse Source

Shell script compliance

android-5
Wetitpig 6 years ago
committed by Leonid Plyushch
parent
commit
14931574cb
  1. 2
      build-all.sh
  2. 2
      build-package.sh

2
build-all.sh

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

2
build-package.sh

@ -247,7 +247,7 @@ termux_setup_cmake() {
# First step is to handle command-line arguments. Not to be overridden by packages. # First step is to handle command-line arguments. Not to be overridden by packages.
termux_step_handle_arguments() { 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 "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 "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." echo " -a The architecture to build for: aarch64(default), arm, i686, x86_64 or all."

Loading…
Cancel
Save