summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLisandro Damián Nicanor Pérez Meyer <perezmeyer@gmail.com>2014-05-21 23:40:46 -0300
committerLisandro Damián Nicanor Pérez Meyer <perezmeyer@gmail.com>2014-05-21 23:40:46 -0300
commit571d40b5a4554b025593ae35c4a802c1718d0985 (patch)
tree3e625c58ad66471662de1ebfe940ae3b5898c387
parent46116120652927ce5779733db292b4626584e0a8 (diff)
downloadqtdeclarative-571d40b5a4554b025593ae35c4a802c1718d0985.tar.gz
Add missing thens.
-rwxr-xr-xdebian/mark_private_symbols.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/debian/mark_private_symbols.sh b/debian/mark_private_symbols.sh
index 319d45b..307d87e 100755
--- a/debian/mark_private_symbols.sh
+++ b/debian/mark_private_symbols.sh
@@ -42,6 +42,7 @@ then
fi
if [ -n "${WRITERESULTS}" ]
+then
# Create a backup copy of the original symbols file.
for symbols_file in `ls debian/*.symbols`
do
@@ -59,6 +60,7 @@ grep -rh class ${PRIVATE_HEADERS} |
do
debug marking ${privateclass} as private
if [ -n "${WRITERESULTS}" ]
+ then
sed -i "s/\(.*${privateclass}[^ ]* *[^ ]*\)$/\1 1/" debian/*.symbol
else
sed -i "s/\(.*${privateclass}[^ ]* *[^ ]*\)$/\1 1/" debian/*.symbols.mps
@@ -66,6 +68,7 @@ grep -rh class ${PRIVATE_HEADERS} |
done
if [ -n "${WRITERESULTS}" ]
+then
# Diff the symbols files and output it's differences.
for symbols_file in `ls debian/*.symbols`
do