diff options
author | Dave Reisner <dreisner@archlinux.org> | 2012-11-22 18:15:26 +0100 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2012-11-24 00:01:34 +0100 |
commit | 8b19be5a9fda9da678166d93a4ccc800f80614dd (patch) | |
tree | abe19cd25f6e0c49f91c0008785c55450c916c64 /functions | |
parent | 3c961b3bc3cbffa7537575c8ea85d016a0342f24 (diff) | |
download | mkinitcpio-8b19be5a9fda9da678166d93a4ccc800f80614dd.tar.gz mkinitcpio-8b19be5a9fda9da678166d93a4ccc800f80614dd.tar.xz |
functions: only show the basename of a deprecated hook
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Diffstat (limited to 'functions')
-rw-r--r-- | functions | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -627,7 +627,8 @@ run_build_hook() { error "$script is a broken symlink to $(readlink "$script")" return 1 fi - warning "Hook '%s' is deprecated. Replace it with '%s' in your config" "$script" "${realscript##*/}" + warning "Hook '%s' is deprecated. Replace it with '%s' in your config" \ + "${script##*/}" "${realscript##*/}" script=$realscript fi |