mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-11-04 18:45:05 +01:00
Prevent settings from being reset by manually incrementing the version
This is required when you don't have an Subversion client installed
This commit is contained in:
parent
53a5ffa5de
commit
618c05e136
@ -3,6 +3,7 @@
|
||||
rev_new_raw=$(svnversion -n . 2>/dev/null | tr '\n' ' ' | tr -d '\r')
|
||||
[ -n "$rev_new_raw" ] || rev_new_raw=$(SubWCRev . 2>/dev/null | tr '\n' ' ' | tr -d '\r')
|
||||
|
||||
[ -z "$rev_new_raw" ] && rev_new_raw=$(cat version.txt)
|
||||
|
||||
rev_new_raw=$(echo $rev_new_raw | sed 's/[^0-9]*\([0-9]*\)\(.*\)/\1 \2/')
|
||||
rev_new=0
|
||||
|
1
version.txt
Normal file
1
version.txt
Normal file
@ -0,0 +1 @@
|
||||
1272
|
Loading…
Reference in New Issue
Block a user