Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/common.sh
AgeCommit message (Expand)Author
2023-03-06fix: enable extglob before func definition for bash-5.2 compatibilityTobias Powalowski
2022-10-12common: prevent globbing and word splitting in find_cached_packageLevente Polyak
2022-10-11common: improve performance of find_cached_packageFelix Yan
2022-09-01fix: do not set extglob globally to avoid side-effectsLevente Polyak
2022-01-26common: Implement helper functions from dbscriptsMorten Linderud
2022-01-26common: implement validity as a functionMorten Linderud
2021-10-29Add GPL-3.0-or-later SPDX identifier to all scriptsDavid Runge
2021-07-17feat: support exposing buildtool to aid reproducible builds configsLevente Polyak
2019-12-08lib: support arbitrary compressed package filesLevente Polyak
2019-11-30lib/common.sh: do not use colors when running on a dumb terminalIvy Foster
2018-01-21lib/common.sh: Adjust to work properly with `set -u`Luke Shumaker
2017-10-30use makepkg library instead of local function copiesLuke Shumaker
2017-07-05Add `# shellcheck` directives to quiet shellcheck, add PKGBUILD.protoLuke Shumaker
2017-07-05Make slightly more involved changes to make shellcheck happy.Luke Shumaker
2017-07-05Quote strings that shellcheck warns about.Luke Shumaker
2017-07-05Make purely stylistic changes to make shellcheck happier.Luke Shumaker
2017-04-05lib/common.sh: Make it safe to include multiple times.Luke Shumaker
2017-04-05lib/common.sh: Adjust to work properly with `set -u`.Luke Shumaker
2017-04-05Avoid using string interpolation; use printf format strings instead.Luke Shumaker
2017-04-05Add a "License:" tag to all code files.Luke Shumaker
2017-04-05Add '#!/hint/bash' headers to non-executable bash files.Luke Shumaker
2017-04-05lib/common.sh: Make setup_workdir()/cleanup() safe for programs to not useLuke Shumaker
2017-04-05lib/common.sh: lock, slock: Create directories for locks if necessary.Luke Shumaker
2017-04-05lib/common.sh: lock, slock: Allow locks to be inherited.Luke Shumaker
2017-04-05lib/common.sh: add 'lock_close'; use it as appropriate.Luke Shumaker
2017-03-07lib/archroot.sh: Simplify check_rootJan Alexander Steffens (heftig)
2017-03-04lib: remove unused version, pkgpartsJelle van der Waa
2017-03-04lib: remove unused left, rightJelle van der Waa
2014-09-22common: remove unreachable statementDave Reisner
2014-09-22common.sh: propagate error through trap_exitDave Reisner
2014-05-10Switch to root when started as regular userSébastien Luttringer
2014-05-10get_full_version :: remove duplicated epoch checkBlackEagle
2014-05-10when cleanup is called without code exit with 0BlackEagle
2014-05-10abort and die are serious errors so throw 255 outBlackEagle
2013-11-04find_cached_package: avoid adding duplicatesDave Reisner
2013-11-01common: implement find_cached_packageDave Reisner
2013-08-08common: Properly forward arguments from die to errorDave Reisner
2013-05-03lib/common.sh: Introduce locking helper functionsJan Alexander Steffens (heftig)
2012-10-27Fix return code handlingJan Alexander Steffens (heftig)
2012-10-03Use dedicated trap functions to avoid unsetting the trap when e.g. cleanup is...Pierre Schmitz
2012-06-16mkarchroot: reset trap so it wont be called twicePierre Schmitz
2011-11-04lib/common.sh: Revise setup_workdir()Lukas Fleischer
2011-11-04lib/common.sh: Use double bracketsLukas Fleischer
2011-11-01Move common functions to a shared filePierre Schmitz