From patchwork Tue Oct 9 21:29:26 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [4,of,6] packaging: builddeb's cleanup needs to expand PWD, safely From: via Mercurial-devel X-Patchwork-Id: 35588 Message-Id: <374fcdd01ef6b813d578.1539120566@cuben.lan> To: mercurial-devel@mercurial-scm.org Date: Tue, 09 Oct 2018 23:29:26 +0200 # HG changeset patch # User muxator # Date 1539116315 -7200 # Tue Oct 09 22:18:35 2018 +0200 # Node ID 374fcdd01ef6b813d578d865eaccb94d3cda5dc8 # Parent 186a840796aae2aa48ca5228fc7225779e3e0ee9 packaging: builddeb's cleanup needs to expand PWD, safely Single quotes would not expand the variable. diff --git a/contrib/packaging/builddeb b/contrib/packaging/builddeb --- a/contrib/packaging/builddeb +++ b/contrib/packaging/builddeb @@ -16,7 +16,7 @@ DEBFLAGS=-b cleanup() { if [ '$CLEANUP' ]; then - rm -r '$PWD/debian'; + rm -r "$PWD/debian"; fi }