summaryrefslogtreecommitdiffstats
path: root/src/cmd/build.sh
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2016-01-23 17:10:29 (EST)
committer P. J. McDermott <pj@pehjota.net>2016-01-23 17:10:29 (EST)
commit76c44efdc5fe002e39aaf27ad4cd94f2bc154bda (patch)
treeeb38e4f0791017ef879d15f6d018678b2e8424e5 /src/cmd/build.sh
parentc3863ac4c059ab57db949fa7dc2f3b2b0f0771bc (diff)
Always use rm's -f option
Diffstat (limited to 'src/cmd/build.sh')
-rw-r--r--src/cmd/build.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/build.sh b/src/cmd/build.sh
index 1d0ad52..fe10899 100644
--- a/src/cmd/build.sh
+++ b/src/cmd/build.sh
@@ -145,7 +145,7 @@ cmd_build_fini()
if [ "x${cmd_build_build_deps}" != 'x' ]; then
session_exec opkg --autoremove remove \
prokit-builddeps-$(session_id)
- rm "${cmd_build_root}${session_dir}/builddeps.opk"
+ rm -f "${cmd_build_root}${session_dir}/builddeps.opk"
# Hack to avoid this code branch if the function is called again
# in response to a signal.
cmd_build_build_deps=''