End option processing before passing filenames to rm

This prevents files in the apt dir from becoming options to rm.

Suggested-by: shellcheck
SC2035: Use ./*glob* or -- *glob* so names with dashes won't become options.
parent 604306f4
......@@ -12,4 +12,4 @@ for release in oldoldstable oldstable stable testing unstable experimental ; do
mv $release.version.tmp $release.version
mv $release.codename.tmp $release.codename
rm -f *.tmp
rm -f -- *.tmp
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment