Remove addHook

Just use bash arrays directly. I.e.

  addHook preConfigure myPreConfigure

is now

  preConfigureHooks+=(myPreConfigure)
This commit is contained in:
Eelco Dolstra
2014-08-09 12:45:53 +02:00
parent e3875297fa
commit 2def8e7499
6 changed files with 14 additions and 23 deletions
@@ -2,7 +2,7 @@
# directories from the RPATH of every library or executable in every
# output.
addHook fixupOutput 'if [ -z "$dontPatchELF" ]; then patchELF "$prefix"; fi'
fixupOutputHooks+=('if [ -z "$dontPatchELF" ]; then patchELF "$prefix"; fi')
patchELF() {
header "patching ELF executables and libraries in $prefix"