[arch-projects] [devtools] [PATCH 5/8] makechrootpkg: Quote directory passed to `rm -rf`.

lukeshu at lukeshu.com lukeshu at lukeshu.com
Sun Apr 2 08:09:59 UTC 2017


From: Luke Shumaker <lukeshu at parabola.nu>

---
 makechrootpkg.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/makechrootpkg.in b/makechrootpkg.in
index 9566b2e..774ebcf 100644
--- a/makechrootpkg.in
+++ b/makechrootpkg.in
@@ -231,7 +231,7 @@ download_sources() {
 	(( $? != 0 )) && die "Could not download sources."
 
 	# Clean up garbage from verifysource
-	rm -rf $builddir
+	rm -rf "$builddir"
 }
 
 move_products() {
-- 
2.12.1


More information about the arch-projects mailing list