mirror of
https://github.com/jhshi/openofdm.git
synced 2024-12-19 05:38:10 +00:00
12 lines
150 B
Bash
12 lines
150 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
# xianjun.jiao@imec.be
|
||
|
|
||
|
if git log -1 > /dev/null 2>&1; then
|
||
|
GIT_REV=$(git log -1 --pretty=%h)
|
||
|
else
|
||
|
GIT_REV=ffffffff
|
||
|
fi
|
||
|
|
||
|
echo $GIT_REV
|