Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/src/pkgrepo.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkgrepo.in')
-rw-r--r--src/pkgrepo.in7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/pkgrepo.in b/src/pkgrepo.in
index c6f5951..00f46e1 100644
--- a/src/pkgrepo.in
+++ b/src/pkgrepo.in
@@ -9,10 +9,11 @@ source /usr/share/makepkg/util/message.sh
set -e
+COMMAND=${_DEVTOOLS_COMMAND:-${BASH_SOURCE[0]##*/}}
usage() {
cat <<- _EOF_
- Usage: ${BASH_SOURCE[0]##*/} [COMMAND] [OPTIONS]
+ Usage: ${COMMAND} [COMMAND] [OPTIONS]
Manage Git packaging repositories and helps with their configuration
according to distro specs.
@@ -37,7 +38,7 @@ _EOF_
usage_clone() {
cat <<- _EOF_
- Usage: ${BASH_SOURCE[0]##*/} clone [OPTIONS] [PKGNAME...]
+ Usage: ${COMMAND} clone [OPTIONS] [PKGNAME...]
Clone Git packaging repositories from the canonical namespace.
@@ -57,7 +58,7 @@ _EOF_
usage_configure() {
cat <<- _EOF_
- Usage: ${BASH_SOURCE[0]##*/} configure [OPTIONS] [PATH...]
+ Usage: ${COMMAND} configure [OPTIONS] [PATH...]
Configure Git packaging repositories according to distro specs and
makepkg.conf settings.