diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2009-03-12 17:10:29 +0100 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2009-03-12 17:10:29 +0100 |
commit | d2141a12e910e1ce2527b6e41e8b24dd061a74e6 (patch) | |
tree | 7758d8d8597d81f293bece085a47bb576cb34be3 /bin | |
parent | 69c7016abf62de9ac89d589cc53c7c0c24cf5650 (diff) |
pkg: global post-update hook: Fixed parameters for checklinks
(Did I already mention that the zsh patterns/expansion are extremely weird
and not entirely behaving as documented?)
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/pkg | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -367,11 +367,9 @@ function global_hook { info "Running make\n" make } - # TODO: cover cases where $HOME ends in a / - # (just to be on the safe side) checklinks $CL_OPTIONS \ - --parameter package=${PWD#$HOME/} \ - --parameter etc=${PWD#$HOME/}/etc + --parameter package=${${PWD#$HOME}#/##} \ + --parameter etc=${${PWD#$HOME}#/##}/etc populate_collected $1 update_provides $1 list_update_package $1 |