summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@parabola.nu>2017-04-02 10:09:59 +0200
committerJan Alexander Steffens (heftig) <jan.steffens@gmail.com>2017-04-05 22:14:20 +0200
commitf9d9db474a68acee7fcb939b03b0a1db04017fe2 (patch)
treedc6153a1b98a4b2f1edfd88c9e792fd159cd53c2
parent253bb4c8d4019d17f83632a196e233fa10e2bf9e (diff)
downloaddevtools-f9d9db474a68acee7fcb939b03b0a1db04017fe2.tar.gz
devtools-f9d9db474a68acee7fcb939b03b0a1db04017fe2.tar.xz
makechrootpkg: Quote directory passed to `rm -rf`.
-rw-r--r--makechrootpkg.in2
1 files changed, 1 insertions, 1 deletions
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() {