aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorCarl Dong <contact@carldong.me>2021-07-02 14:10:33 -0400
committerCarl Dong <contact@carldong.me>2021-07-02 14:10:33 -0400
commit647f7e5f1da1089d451f3c431efc635b8e87b064 (patch)
treee05b1bdcce216685054d197551c91f6f02028b4a /contrib
parentdc4137a60c99979b89f75d2bddba96d043f387b8 (diff)
guix: Also sort SHA256SUMS.part
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/guix/libexec/build.sh1
-rwxr-xr-xcontrib/guix/libexec/codesign.sh1
2 files changed, 2 insertions, 0 deletions
diff --git a/contrib/guix/libexec/build.sh b/contrib/guix/libexec/build.sh
index 9351c54229..e457840d15 100755
--- a/contrib/guix/libexec/build.sh
+++ b/contrib/guix/libexec/build.sh
@@ -446,5 +446,6 @@ mv --no-target-directory "$OUTDIR" "$ACTUAL_OUTDIR" \
find "$ACTUAL_OUTDIR" -type f
} | xargs realpath --relative-base="$PWD" \
| xargs sha256sum \
+ | sort -k2 \
| sponge "$ACTUAL_OUTDIR"/SHA256SUMS.part
)
diff --git a/contrib/guix/libexec/codesign.sh b/contrib/guix/libexec/codesign.sh
index b1eec686ec..f484ac5774 100755
--- a/contrib/guix/libexec/codesign.sh
+++ b/contrib/guix/libexec/codesign.sh
@@ -108,5 +108,6 @@ mv --no-target-directory "$OUTDIR" "$ACTUAL_OUTDIR" \
find "$ACTUAL_OUTDIR" -type f
} | xargs realpath --relative-base="$PWD" \
| xargs sha256sum \
+ | sort -k2 \
| sponge "$ACTUAL_OUTDIR"/SHA256SUMS.part
)