diff --git a/makechrootpkg.in b/makechrootpkg.in
index 9566b2e4e8ae3d91cc710981f09e8f5594f5cd65..774ebcf4316eebd99e7ad8f273a2bbc009aad7d9 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() {