Pierre Schmitz
7228cc00e8
Use dedicated trap functions to avoid unsetting the trap when e.g. cleanup is called
2012-10-03 12:35:40 +02:00
Pierre Schmitz
246b8ead60
mkarchroot: reset trap so it wont be called twice
2012-06-16 16:21:55 +02:00
Lukas Fleischer
fbbcc30e3d
lib/common.sh: Revise setup_workdir()
...
* 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-04 19:34:00 +01:00
Lukas Fleischer
c1752bd716
lib/common.sh: Use double brackets
...
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2011-11-04 19:33:51 +01:00
Pierre Schmitz
aaa68e49e8
Move common functions to a shared file
...
* common.sh is included on build time
* most functions are copied from makepkg
2011-11-01 15:33:08 +01:00