Skip to content

Commit d15c428

Browse files
committed
cline fixes build
1 parent d4314da commit d15c428

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

build-appimage.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ sed 's|Icon=tic80|Icon=tic80.png|' build/linux/tic80.desktop.in > "$APPDIR/usr/s
3636
cp build/linux/tic80.png "$APPDIR/usr/share/icons/hicolor/256x256/apps/"
3737

3838
# Configure and copy metainfo
39-
VERSION_MAJOR=$(grep VERSION_MAJOR cmake/version.cmake | cut -d'"' -f2)
40-
VERSION_MINOR=$(grep VERSION_MINOR cmake/version.cmake | cut -d'"' -f2)
41-
VERSION_REVISION=$(grep VERSION_REVISION cmake/version.cmake | cut -d'"' -f2)
39+
VERSION_MAJOR=$(grep "VERSION_MAJOR" cmake/version.cmake | sed 's/.*VERSION_MAJOR \([0-9]*\).*/\1/')
40+
VERSION_MINOR=$(grep "VERSION_MINOR" cmake/version.cmake | sed 's/.*VERSION_MINOR \([0-9]*\).*/\1/')
41+
VERSION_REVISION=$(grep "VERSION_REVISION" cmake/version.cmake | sed 's/.*VERSION_REVISION \([0-9]*\).*/\1/')
4242
VERSION_YEAR=$(date +%Y)
4343
VERSION_MONTH=$(date +%m)
4444
VERSION_DAY=$(date +%d)

0 commit comments

Comments
 (0)