md5 format
This commit is contained in:
parent
82c81822d3
commit
123f04270b
6
TODO
6
TODO
|
@ -161,3 +161,9 @@ BSD mktemp
|
||||||
| ./urchin: cannot create /log: permission denied
|
| ./urchin: cannot create /log: permission denied
|
||||||
|
|
||||||
|
|
||||||
|
NetBSD
|
||||||
|
|
||||||
|
md5: unknown option -- q
|
||||||
|
usage: cksum [-n] [-a algorithm [-ptx] [-s string]] [-o 1|2]
|
||||||
|
[file ... | -c [-w] [sumfile]]
|
||||||
|
|
||||||
|
|
2
urchin
2
urchin
|
@ -154,7 +154,7 @@ stdout_file() {
|
||||||
mkdir -p "${x}"
|
mkdir -p "${x}"
|
||||||
case "${urchin_md5}" in
|
case "${urchin_md5}" in
|
||||||
md5sum) y=$(echo "${the_shell}" | md5sum | cut -d\ -f1) ;;
|
md5sum) y=$(echo "${the_shell}" | md5sum | cut -d\ -f1) ;;
|
||||||
md5) y=$(echo "${the_shell}" | md5 -q) ;;
|
md5) y=$(echo "${the_shell}" | md5 | sed 's/.* //') ;;
|
||||||
*) echo md5 command is not configured >&2; urchin_exit 1;;
|
*) echo md5 command is not configured >&2; urchin_exit 1;;
|
||||||
esac
|
esac
|
||||||
echo "${x}/${y}"
|
echo "${x}/${y}"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user