upload ini from firmware build #4456
This commit is contained in:
parent
42fb3e2a4e
commit
0a4f5b1d1a
|
@ -19,8 +19,13 @@ pwd
|
|||
echo -e "\nUploading .ini files"
|
||||
ls -l .
|
||||
|
||||
echo "Processing file $1:"
|
||||
sig=$(grep "^ *signature *=" $1 | cut -f2 -d "=")
|
||||
if [ "$1" = "all" ]; then
|
||||
echo "Processing default 'all' file"
|
||||
sig=$(grep "^ *signature *=" rusefi.ini | cut -f2 -d "=")
|
||||
else
|
||||
echo "Processing file $1:"
|
||||
sig=$(grep "^ *signature *=" $1 | cut -f2 -d "=")
|
||||
fi
|
||||
if [ ! -z "$sig" -a "$sig" != " " ]; then
|
||||
echo "* found signature: $sig"
|
||||
if [[ "$sig" =~ rusEFI.*([0-9]{4})\.([0-9]{2})\.([0-9]{2})\.([a-zA-Z0-9_-]+)\.([0-9]+) ]]; then
|
||||
|
|
Loading…
Reference in New Issue