changeset 40106:d3780c8f3180

packaging: builddeb's cleanup needs to expand PWD, safely Single quotes would not expand the variable.
author muxator <a.mux@inwind.it>
date Tue, 09 Oct 2018 22:18:35 +0200
parents 338230555429
children 930bce0741de
files contrib/packaging/builddeb
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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
 }