Commit 7d522b2b authored by Vincent Pelletier's avatar Vincent Pelletier Committed by Rafael Monnerat

software/slaprunner: "rm" can process more than one file at a time.

parent 78697760
...@@ -31,7 +31,7 @@ md5sum = 9db9957f452bda370cb2d5cc2e833e85 ...@@ -31,7 +31,7 @@ md5sum = 9db9957f452bda370cb2d5cc2e833e85
[template-runner-export-script] [template-runner-export-script]
filename = template/runner-export.sh.jinja2 filename = template/runner-export.sh.jinja2
md5sum = d9d139a075969d866fec916092336854 md5sum = c4e78e85235fd7340029b26c54f4992f
[instance-runner-export] [instance-runner-export]
filename = instance-runner-export.cfg.in filename = instance-runner-export.cfg.in
......
...@@ -70,8 +70,7 @@ tmp_backup_sum=$(mktemp -p "$tmp_directory") ...@@ -70,8 +70,7 @@ tmp_backup_sum=$(mktemp -p "$tmp_directory")
tmp_filtered_signature=$(mktemp -p "$tmp_directory") tmp_filtered_signature=$(mktemp -p "$tmp_directory")
remove_tmp_files () { remove_tmp_files () {
rm $tmp_backup_sum rm "$tmp_backup_sum" "$tmp_filtered_signature"
rm $tmp_filtered_signature
} }
trap remove_tmp_files EXIT trap remove_tmp_files EXIT
......
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