summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2015-10-28 15:43:14 (EDT)
committer P. J. McDermott <pj@pehjota.net>2015-10-28 15:43:14 (EDT)
commit845463f15920155effe3160c211586566e97f0a8 (patch)
treeaf99a8e11127e054988a2a74256bfc982b8645fc
parent2b5fbcbeb8a9efc7e754ebc85320cf5075b5f991 (diff)
downloadfirman.sh-845463f15920155effe3160c211586566e97f0a8.zip
firman.sh-845463f15920155effe3160c211586566e97f0a8.tar.gz
firman.sh-845463f15920155effe3160c211586566e97f0a8.tar.bz2
rm_temp(): Remove recursively
-rw-r--r--src/download.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/download.sh b/src/download.sh
index ba2a609..60d4ea0 100644
--- a/src/download.sh
+++ b/src/download.sh
@@ -86,7 +86,7 @@ rm_temp()
local file="${1}"
shift 1
- rm -f "${temp_dir}/${file}"
+ rm -Rf "${temp_dir}/${file}"
return 0
}