Loading archbuild.in +8 −3 Original line number Diff line number Diff line Loading @@ -18,6 +18,7 @@ fi chroots='/var/lib/archbuild' clean_first=false update=true build=true usage() { echo "Usage: $cmd [options] -- [makechrootpkg args]" Loading @@ -26,6 +27,7 @@ usage() { echo ' -U Do not update chroots before building' echo ' -r <dir> Create chroots in this directory' echo ' -R Repackage (fastpass to makepkg -R)' echo ' -n Do not build (used to create/update the chroot)' echo '' echo "Default makechrootpkg args: ${makechrootpkg_args[*]}" echo '' Loading @@ -34,7 +36,7 @@ usage() { orig_argv=("$@") while getopts 'hcr:UR' arg; do while getopts 'hcr:URn' arg; do case "${arg}" in c) clean_first=true ;; U) update=false Loading @@ -43,6 +45,7 @@ while getopts 'hcr:UR' arg; do R) update=false clean_first=false makechrootpkg_args=(-n -- -R -f);; n) build=false ;; *) usage ;; esac done Loading Loading @@ -86,5 +89,7 @@ elif $update; then pacman -Syu --noconfirm || abort fi if $build; then msg "Building in chroot for [${repo}] (${arch})..." exec makechrootpkg -r "${chroots}/${repo}-${arch}" "${makechrootpkg_args[@]}" fi zsh_completion.in +1 −0 Original line number Diff line number Diff line Loading @@ -7,6 +7,7 @@ _archbuild_args=( '-U[Do not update chroots before building]' '-R[Repackage; fastpass to makepkg -R]' '-r[Create chroots in this directory]:base_dir:_files -/' '-n[Do not build]' ) _archco_args=( Loading Loading
archbuild.in +8 −3 Original line number Diff line number Diff line Loading @@ -18,6 +18,7 @@ fi chroots='/var/lib/archbuild' clean_first=false update=true build=true usage() { echo "Usage: $cmd [options] -- [makechrootpkg args]" Loading @@ -26,6 +27,7 @@ usage() { echo ' -U Do not update chroots before building' echo ' -r <dir> Create chroots in this directory' echo ' -R Repackage (fastpass to makepkg -R)' echo ' -n Do not build (used to create/update the chroot)' echo '' echo "Default makechrootpkg args: ${makechrootpkg_args[*]}" echo '' Loading @@ -34,7 +36,7 @@ usage() { orig_argv=("$@") while getopts 'hcr:UR' arg; do while getopts 'hcr:URn' arg; do case "${arg}" in c) clean_first=true ;; U) update=false Loading @@ -43,6 +45,7 @@ while getopts 'hcr:UR' arg; do R) update=false clean_first=false makechrootpkg_args=(-n -- -R -f);; n) build=false ;; *) usage ;; esac done Loading Loading @@ -86,5 +89,7 @@ elif $update; then pacman -Syu --noconfirm || abort fi if $build; then msg "Building in chroot for [${repo}] (${arch})..." exec makechrootpkg -r "${chroots}/${repo}-${arch}" "${makechrootpkg_args[@]}" fi
zsh_completion.in +1 −0 Original line number Diff line number Diff line Loading @@ -7,6 +7,7 @@ _archbuild_args=( '-U[Do not update chroots before building]' '-R[Repackage; fastpass to makepkg -R]' '-r[Create chroots in this directory]:base_dir:_files -/' '-n[Do not build]' ) _archco_args=( Loading