source:
tools/build/distcc_hash
@
b12e4ad
Last change on this file since b12e4ad 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.