summaryrefslogtreecommitdiff
path: root/src/chroot-tools/libremakepkg
diff options
context:
space:
mode:
authorbill-auger <mr.j.spam.me@gmail.com>2020-07-14 01:35:02 -0400
committerbill-auger <mr.j.spam.me@gmail.com>2020-11-20 22:51:10 -0500
commit8603c69f9009cbd52159e95af394570069a6e423 (patch)
tree632e93eecb24319a714dcc2d9b3693f27eb01ad7 /src/chroot-tools/libremakepkg
parent4e8af6df305e86892fb4116c781ea36e28f29fcd (diff)
whitespace
Diffstat (limited to 'src/chroot-tools/libremakepkg')
-rwxr-xr-xsrc/chroot-tools/libremakepkg4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/chroot-tools/libremakepkg b/src/chroot-tools/libremakepkg
index b427fd0..10292c7 100755
--- a/src/chroot-tools/libremakepkg
+++ b/src/chroot-tools/libremakepkg
@@ -72,7 +72,6 @@ exit_copy() {
run_hook() {
local hookname=$1; shift
local hookvar="hook_${hookname}[@]"
-
local fails=()
for hook in "${!hookvar}"; do
@@ -169,13 +168,11 @@ usage() {
the documentation there.'
echo
print 'Options:'
-
flag 'librechroot options:' \
"-n <$(_ CHROOT)>" 'Name of the chroot to use' \
"-l <$(_ COPY)>" 'Name of, or absolute path to, the chroot copy to use' \
"-w <$(_ 'PATH[:INSIDE_PATH[:OPTIONS]]')>" 'Bind mount a file or directory, read/write' \
"-r <$(_ 'PATH[:INSIDE_PATH[:OPTIONS]]')>" 'Bind mount a file or directory, read-only'
-
flag 'libremakepkg options:' \
'-N' "Don't disable networking during prepare(),
build(), and package(). PLEASE don't use
@@ -342,4 +339,5 @@ main() {
add_to_local_repo "$copydir" "$copydir"/pkgdest/*.pkg.tar* |& indent
}
+
main "$@"