]> code.delx.au - spectrwm/blob - buildver.sh
linux: Use --as-needed when linking
[spectrwm] / buildver.sh
1 #!/bin/sh
2
3 CURDIR=$(dirname $0)
4 if [ -d "$CURDIR/.git" ]; then
5 cd "$CURDIR"
6 echo $(git rev-parse HEAD)
7 fi