Merge "Set LC_ALL=C into dib-run-parts env"

This commit is contained in:
Jenkins 2014-07-03 01:22:34 +00:00 committed by Gerrit Code Review
commit 61c192ea3c

View File

@ -101,7 +101,7 @@ for target in $(find . -name 'start_*' -printf '%f\n') ; do
start_seconds=$(cat $target) start_seconds=$(cat $target)
stop_seconds=$(cat $stop_file) stop_seconds=$(cat $stop_file)
duration=$(python -c "print($stop_seconds - $start_seconds)") duration=$(python -c "print($stop_seconds - $start_seconds)")
LC_NUMERIC=C printf "%-40s %10.3f\n" ${target##start_} $duration LC_NUMERIC=C LC_ALL=C printf "%-40s %10.3f\n" ${target##start_} $duration
done done
popd > /dev/null popd > /dev/null
rm -rf $PROFILE_DIR rm -rf $PROFILE_DIR