[SCM] qtdeclarative packaging branch, experimental, updated. debian/5.2.1-5-26-gee14bb7

Lisandro Damián Nicanor Pérez lisandro at moszumanska.debian.org
Thu May 22 03:19:10 UTC 2014


Gitweb-URL: http://git.debian.org/?p=pkg-kde/qt/qtdeclarative.git;a=commitdiff;h=1110f62

The following commit has been merged in the experimental branch:
commit 1110f620a5f6951a8b8302540d063c881e0d0186
Author: Lisandro Damián Nicanor Pérez Meyer <perezmeyer at gmail.com>
Date:   Thu May 22 03:17:30 2014 +0000

    More fixes to the script.
---
 debian/mark_private_symbols.sh | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/debian/mark_private_symbols.sh b/debian/mark_private_symbols.sh
index 307d87e..a3f164d 100755
--- a/debian/mark_private_symbols.sh
+++ b/debian/mark_private_symbols.sh
@@ -41,7 +41,7 @@ then
 	error "Private headers not found"
 fi
 
-if [ -n "${WRITERESULTS}" ]
+if [ ! -n "${WRITERESULTS}" ]
 then
 	# Create a backup copy of the original symbols file.
 	for symbols_file in `ls debian/*.symbols`
@@ -58,16 +58,16 @@ grep -rh class ${PRIVATE_HEADERS} |
 	done | 
 	while read privateclass 
 	do
-		debug marking ${privateclass} as private
+		debug Marking ${privateclass} as private
 		if [ -n "${WRITERESULTS}" ]
 		then
-			sed -i "s/\(.*${privateclass}[^ ]* *[^ ]*\)$/ 1/" debian/*.symbol
+			sed -i "s/\(.*${privateclass}[^ ]* *[^ ]*\)$/ 1/" debian/*.symbols
 		else
 			sed -i "s/\(.*${privateclass}[^ ]* *[^ ]*\)$/ 1/" debian/*.symbols.mps
 		fi
 	done 
 
-if [ -n "${WRITERESULTS}" ]
+if [ ! -n "${WRITERESULTS}" ]
 then
 	# Diff the symbols files and output it's differences.
 	for symbols_file in `ls debian/*.symbols`

-- 
qtdeclarative packaging



More information about the pkg-kde-commits mailing list