mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-21 21:55:38 +00:00
Updated update_version_string.sh for the recent CMake configuration changes.
This commit is contained in:
parent
8cda342ec3
commit
73a4f0e7e9
|
@ -42,9 +42,9 @@ TEMPFILE=update_version_string.tmp
|
|||
|
||||
##### CMakeLists.txt
|
||||
|
||||
MODIFYFILE=../es-app/CMakeLists.txt
|
||||
MODIFYSTRING=$(grep "set(CPACK_PACKAGE_VERSION" $MODIFYFILE)
|
||||
NEWSTRING="set(CPACK_PACKAGE_VERSION \"${1}.${2}.${3}${SUFFIX}\")"
|
||||
MODIFYFILE=../CMakeLists.txt
|
||||
MODIFYSTRING=$(grep "set(ES_VERSION" $MODIFYFILE)
|
||||
NEWSTRING="set(ES_VERSION ${1}.${2}.${3}${SUFFIX})"
|
||||
|
||||
cat $MODIFYFILE | sed s/"${MODIFYSTRING}"/"${NEWSTRING}"/ > $TEMPFILE
|
||||
mv $TEMPFILE $MODIFYFILE
|
||||
|
|
Loading…
Reference in a new issue