Commit 1ba91b06 authored by Vincent Pelletier's avatar Vincent Pelletier Committed by Rafael Monnerat

software/slaprunner: Get rid of redundant LC_ALL definition.

parent ebf4e722
...@@ -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 = 5cc9829a25d129740158e97c9899bbfa md5sum = aba6f56ad7ba9e177aed5fcfcb90d926
[instance-runner-export] [instance-runner-export]
filename = instance-runner-export.cfg.in filename = instance-runner-export.cfg.in
......
...@@ -65,7 +65,7 @@ fi ...@@ -65,7 +65,7 @@ fi
( (
cd "$backup_directory" cd "$backup_directory"
find -type f ! -name backup.signature -print0 | xargs -0 sha256sum | LC_ALL=C sort -k 66 > backup.signature find -type f ! -name backup.signature -print0 | xargs -0 sha256sum | sort -k 66 > backup.signature
) )
# Check that export didn't happen during backup of instances # Check that export didn't happen during backup of instances
...@@ -88,7 +88,7 @@ if [ -z "$backup_directory_path" ]; then ...@@ -88,7 +88,7 @@ if [ -z "$backup_directory_path" ]; then
fi fi
sleep 5 sleep 5
sha256sum $backup_directory_path | LC_ALL=C sort -k 66 > $tmp_backup_sum sha256sum "$backup_directory_path" | sort -k 66 > "$tmp_backup_sum"
cat {{ directory['backup'] }}/backup.signature | egrep "instance/slappart.*/srv/backup/" > $tmp_filtered_signature cat {{ directory['backup'] }}/backup.signature | egrep "instance/slappart.*/srv/backup/" > $tmp_filtered_signature
# If the diff fails, then the notifier will restart this script # If the diff fails, then the notifier will restart this script
......
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