packaging: builddeb's cleanup needs to expand PWD, safely
authormuxator <a.mux@inwind.it>
Tue, 09 Oct 2018 22:18:35 +0200
changeset 40105 d3780c8f3180
parent 40104 338230555429
child 40106 930bce0741de
packaging: builddeb's cleanup needs to expand PWD, safely Single quotes would not expand the variable.
contrib/packaging/builddeb
--- a/contrib/packaging/builddeb	Tue Oct 09 22:16:25 2018 +0200
+++ b/contrib/packaging/builddeb	Tue Oct 09 22:18:35 2018 +0200
@@ -16,7 +16,7 @@
 
 cleanup() {
     if [ '$CLEANUP' ]; then
-        rm -r '$PWD/debian';
+        rm -r "$PWD/debian";
     fi
 }