Fix bug in generate-patchlist.sh.

This commit is contained in:
Sebastian Lackner 2014-03-24 18:48:08 +01:00
parent d0e9447fb6
commit 86c9842e64
2 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@ for FILE in patches/*/*.def; do
PATCH_DATA="${PATCH_DATA}+ { \"${UUID}:${REVISION}\", \"${AUTHOR}\", \"${TITLE}\" },";
done
PATCH_LINES=$(echo "${PATCH_DATA}" | grep -c '\n');
PATCH_LINES=$(echo "${PATCH_DATA}" | wc -l);
PATCH_LINES=$((${PATCH_LINES}+20));
PATCH_DATA=$(echo "${PATCH_DATA}" | sed ':a;N;$!ba;s/\n/\\n/g');

View File

@ -37,7 +37,7 @@ diff --git a/libs/wine/config.c b/libs/wine/config.c
index a273502..5fa0cd5 100644
--- a/libs/wine/config.c
+++ b/libs/wine/config.c
@@ -478,6 +478,36 @@ const char *wine_get_version(void)
@@ -478,6 +478,37 @@ const char *wine_get_version(void)
return PACKAGE_VERSION;
}