mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-11-18 17:29:17 +01:00
little fix
This commit is contained in:
parent
f3296b3570
commit
9b051ac7d7
@ -7,7 +7,7 @@ a=$(svnversion -n ..)
|
|||||||
|
|
||||||
b=$(cat ../source/svnrev.h | tr -d '\n' | sed 's/[^0-9]*\([0-9]*\).*/\1/')
|
b=$(cat ../source/svnrev.h | tr -d '\n' | sed 's/[^0-9]*\([0-9]*\).*/\1/')
|
||||||
|
|
||||||
if [ $a -ne $b ]; then
|
if [ "$a" != "$b" ]; then
|
||||||
echo '#ifndef SVNREV_H' > ../source/svnrev.h
|
echo '#ifndef SVNREV_H' > ../source/svnrev.h
|
||||||
echo ' #define SVNREV_H' >> ../source/svnrev.h
|
echo ' #define SVNREV_H' >> ../source/svnrev.h
|
||||||
echo ' #define SVN_REV "'$a'"' >> ../source/svnrev.h
|
echo ' #define SVN_REV "'$a'"' >> ../source/svnrev.h
|
||||||
|
Loading…
Reference in New Issue
Block a user