summaryrefslogtreecommitdiffstats
path: root/src/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd')
-rw-r--r--src/cmd/opkg.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd/opkg.sh b/src/cmd/opkg.sh
index 62aa788..7fbfdb3 100644
--- a/src/cmd/opkg.sh
+++ b/src/cmd/opkg.sh
@@ -24,7 +24,7 @@ _cmd_opkg_fini()
{
case "${cmd_opkg_opks}" in
*[!\ ]*)
- rm -f ${cmd_opkg_opks}
+ rm -f -- ${cmd_opkg_opks}
# Hack to avoid this code branch if the function is
# called again in response to a signal.
cmd_opkg_opks=''
@@ -77,7 +77,7 @@ cmd_opkg_main()
cmd_opkg_opks="$(printf '%s %s\n' \
"${cmd_opkg_opks}" \
"${root}${new_fname}")"
- cp "${arg}" "${root}${new_fname}"
+ cp -- "${arg}" "${root}${new_fname}"
set -- "${@}" "${new_fname}"
;;
*)