mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-02 09:03:37 +00:00
getRevision: silence error if Revision.h doesn't exist
This commit is contained in:
parent
80ecddd574
commit
4f5a763666
|
@ -1,6 +1,6 @@
|
|||
SCRIPT_DIRECTORY=`dirname $0`
|
||||
rev=\"`git rev-parse --short HEAD`\"
|
||||
lastrev=$(head -n 1 $SCRIPT_DIRECTORY/Revision.h | awk -F'PLUGIN_REVISION ' {'print $2'})
|
||||
lastrev=$(head -n 1 $SCRIPT_DIRECTORY/Revision.h 2> /dev/null | awk -F'PLUGIN_REVISION ' {'print $2'})
|
||||
|
||||
echo current revision $rev
|
||||
echo last build revision $lastrev
|
||||
|
|
Loading…
Reference in New Issue
Block a user