1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 19:51:17 +00:00

setup.sh: remove extraneous cat cmd

This commit is contained in:
happysalada 2021-06-26 17:53:14 +09:00 committed by Raphael Megzari
parent 1f255cbe5c
commit 5617feb330

View file

@ -125,7 +125,7 @@ exitHandler() {
if [ -n "${showBuildStats:-}" ]; then
times > "$NIX_BUILD_TOP/.times"
local -a buildTimesArray
IFS=" " read -r -a buildTimesArray <<< "$(cat "$NIX_BUILD_TOP/.times")"
IFS=" " read -r -a buildTimesArray < "$NIX_BUILD_TOP/.times"
# Print the following statistics:
# - user time for the shell
# - system time for the shell