source: tools/build/distcc_hash @ db19e1d

Last change on this file since db19e1d was 6716d78, checked in by Thierry Delisle <tdelisle@…>, 5 years ago

Fixed gitignore which was ignoring tools/build and added missing distcc scripts

  • Property mode set to 100755
File size: 149 bytes
Line 
1#!/bin/bash
2
3tools=$( dirname "${BASH_SOURCE[0]}" )
4path=$(readlink -f ${tools}/../../$1)
5
6hash=$(openssl dgst -sha256 <<< $path)
7echo "${hash: -10}"
Note: See TracBrowser for help on using the repository browser.