We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f3d0960 commit 5a9f224Copy full SHA for 5a9f224
dockerfile_scripts/070-print-checksums.sh
@@ -2,13 +2,18 @@
2
set -e
3
4
5
+echo
6
7
+echo "------------------------------------------------------------"
8
echo
9
10
11
print_size_and_checksums () {
12
cat <<EOF
-\`${1}\` CHECKSUM AND SIZE
-------------------------------------------------------------
13
+### \`${1}\` size and checksum
14
+
15
+ $ stat --printf="%s bytes\n" $1
16
+ $(stat --printf="%s bytes\n" $1)
17
18
$ md5sum $1
19
$(md5sum $1)
@@ -25,8 +30,7 @@ EOF
25
30
26
31
27
32
28
-md5sums FILE CONTENTS
29
33
+### md5sums FILE CONTENTS
34
35
$(ar -p *.deb control.tar.xz | tar xJO ./md5sums)
36
@@ -41,6 +45,7 @@ rm s3fs
41
45
42
46
43
47
DONE
48
44
49
------------------------------------------------------------
50
51
EOF
0 commit comments