From: Roger Leigh Date: Tue, 14 Jun 2011 18:30:59 +0000 (+0100) Subject: dh: rules function joins array argument X-Git-Tag: 8.9.0~12 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=6aca0eba03b03e3c898b132f5a6d005118ed6d4c;p=debhelper.git dh: rules function joins array argument Appending @_ to a string appends the array length rather than the array contents, so join with separating whitespace. --- diff --git a/dh b/dh index 2eda335..8d8c920 100755 --- a/dh +++ b/dh @@ -801,7 +801,7 @@ sub rules_target { } sub rules { - return "debian/rules ".@_; + return "debian/rules ".join(" ", @_); } {