source:
tools/build/distcc_hash
@
d1fbc56e
Last change on this file since d1fbc56e was 6716d78, checked in by , 5 years ago | |
---|---|
|
|
File size: 149 bytes |
Line | |
---|---|
1 | #!/bin/bash |
2 | |
3 | tools=$( dirname "${BASH_SOURCE[0]}" ) |
4 | path=$(readlink -f ${tools}/../../$1) |
5 | |
6 | hash=$(openssl dgst -sha256 <<< $path) |
7 | echo "${hash: -10}" |
Note: See TracBrowser
for help on using the repository browser.