File indexing completed on 2024-05-12 16:39:57
0001 #!/bin/bash 0002 # 0003 # Copyright (C) 2007 Jarosław Staniek <staniek@kde.org> 0004 # 0005 # This program is free software; you can redistribute it and/or 0006 # modify it under the terms of the GNU General Public 0007 # License as published by the Free Software Foundation; either 0008 # version 2 of the License, or (at your option) any later version. 0009 # 0010 # This program is distributed in the hope that it will be useful, 0011 # but WITHOUT ANY WARRANTY; without even the implied warranty of 0012 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 0013 # General Public License for more details. 0014 # 0015 # You should have received a copy of the GNU General Public License 0016 # along with this program; see the file COPYING. If not, write to 0017 # the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 0018 # Boston, MA 02110-1301, USA. 0019 0020 # 0021 # Updates transliteration_table.h.patch file using the original 0022 # transliteration_table.h.bz2 file. 0023 # 0024 0025 # 1. Create an original transliteration file by reversing changes 0026 0027 bzcat transliteration_table.cpp.bz2 > transliteration_table.cpp.orig || exit 1 0028 patch -p0 -R transliteration_table.cpp.orig < transliteration_table.cpp.patch || exit 1 0029 0030 # 2. Update transliteration_table.cpp.patch file 0031 0032 diff -u transliteration_table.cpp.orig transliteration_table.cpp \ 0033 > transliteration_table.cpp.patch || exit 1 0034