summaryrefslogtreecommitdiffstats
path: root/lib/common.sh
AgeCommit message (Collapse)AuthorFilesLines
2012-10-27Fix return code handlingJan Alexander Steffens (heftig)1-1/+1
Stop trap_exit from forcing a 0 exit code. This fixes makechrootpkg, which used to always return success, even if the build failed. Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2012-10-03Use dedicated trap functions to avoid unsetting the trap when e.g. cleanup ↵Pierre Schmitz1-4/+12
is called
2012-06-16mkarchroot: reset trap so it wont be called twicePierre Schmitz1-1/+1
2011-11-04lib/common.sh: Revise setup_workdir()Lukas Fleischer1-1/+1
* Honor TMPDIR variable (just like we did in commit a0c6bf45). * Quote path properly. * Avoid unnecessary use of basename(1). Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2011-11-04lib/common.sh: Use double bracketsLukas Fleischer1-3/+3
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2011-11-01Move common functions to a shared filePierre Schmitz1-0/+124
* common.sh is included on build time * most functions are copied from makepkg