summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ymir.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/ymir.nix b/ymir.nix
index e1b94d2a..82f9c5d2 100644
--- a/ymir.nix
+++ b/ymir.nix
@@ -90,7 +90,7 @@ in rec {
90 90
91 TRAPEXIT() { [[ -n "''${tmpFile}" && -e "''${tmpFile}" ]] && rm -f "''${tmpFile}" } 91 TRAPEXIT() { [[ -n "''${tmpFile}" && -e "''${tmpFile}" ]] && rm -f "''${tmpFile}" }
92 92
93 prefix=$(sha512sum "''${tmpFile}" | awk '{ print $1; }' | head -c 10) 93 prefix=$(tee "''${tmpFile}" | sha512sum | awk '{ print $1; }' | head -c 10)
94 prefix=''${prefix:l} 94 prefix=''${prefix:l}
95 filename="$1" 95 filename="$1"
96 96