summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Hutchings <ben@decadent.org.uk>2020-01-30 19:38:01 +0100
committerBen Hutchings <ben@decadent.org.uk>2020-01-30 19:39:58 +0100
commitd96228a43a6d68963791daedbe104cffb9b18d15 (patch)
treee3070550db7c46c9d6b5661e40bbb94b219c0970
parentf2ac13e8881f975b062a56050ceda85ef9ccc015 (diff)
hook-functions: copy_exec: Correct verbose log message for symlinks
It was logging the link target, not the name of the symlink. Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
-rw-r--r--hook-functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/hook-functions b/hook-functions
index 884f820..6ff277c 100644
--- a/hook-functions
+++ b/hook-functions
@@ -152,7 +152,7 @@ copy_file() {
esac
if [ "${link_target}" != "${target}" ]; then
- [ "${verbose?}" = "y" ] && echo "Adding ${type}-link ${src}"
+ [ "${verbose?}" = "y" ] && echo "Adding ${type}-link ${target}"
# Create a relative link so it always points
# to the right place