From 86c9842e64f2636435c23e50de54915fc140e6ae Mon Sep 17 00:00:00 2001 From: Sebastian Lackner Date: Mon, 24 Mar 2014 18:48:08 +0100 Subject: [PATCH] Fix bug in generate-patchlist.sh. --- debian/tools/generate-patchlist.sh | 2 +- patches/patch-list.patch | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/tools/generate-patchlist.sh b/debian/tools/generate-patchlist.sh index 3a20952a..a0163d7c 100755 --- a/debian/tools/generate-patchlist.sh +++ b/debian/tools/generate-patchlist.sh @@ -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'); diff --git a/patches/patch-list.patch b/patches/patch-list.patch index e701edb2..187b17cd 100644 --- a/patches/patch-list.patch +++ b/patches/patch-list.patch @@ -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; }