source: tools/build/distcc_hash @ 7d6e01d

ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
Last change on this file since 7d6e01d 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
RevLine 
[6716d78]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.