summaryrefslogtreecommitdiffstats
path: root/kde-tde/convert_existing_kde3_app_to_tde
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2015-03-01 20:54:45 -0600
committerSlávek Banko <slavek.banko@axis.cz>2015-03-04 23:24:45 +0100
commiteaf17f3f94e9eef81d13bb09612a626f4d2a781a (patch)
tree48034548f2386a9330789d720580f3aef807d4ae /kde-tde/convert_existing_kde3_app_to_tde
parentf36177d904e0fb03900b6408f413dfffa1ea0976 (diff)
downloadexperimental-eaf17f3f94e9eef81d13bb09612a626f4d2a781a.tar.gz
experimental-eaf17f3f94e9eef81d13bb09612a626f4d2a781a.zip
Update conversion scripts
(cherry picked from commit 321c708ddb3925149623285ef0c019fb2218b4a8)
Diffstat (limited to 'kde-tde/convert_existing_kde3_app_to_tde')
-rwxr-xr-xkde-tde/convert_existing_kde3_app_to_tde11
1 files changed, 10 insertions, 1 deletions
diff --git a/kde-tde/convert_existing_kde3_app_to_tde b/kde-tde/convert_existing_kde3_app_to_tde
index 7d8e5c0..a7eb2d2 100755
--- a/kde-tde/convert_existing_kde3_app_to_tde
+++ b/kde-tde/convert_existing_kde3_app_to_tde
@@ -1,4 +1,13 @@
#!/bin/bash
+#
+# Licensed under the GPL v2
+
+THISSCRIPT=$(readlink -f $0)
+if [[ ! -e "$THISSCRIPT" ]]; then
+ echo "Unable to find myself! Exiting..."
+ exit 1
+fi
+SCRIPTPATH=`dirname $THISSCRIPT`
find ./ -type f -not -iwholename '*.git*' -print0 |
xargs -r0 grep -ElI "([^a-zA-Z0-9]|^)(\
@@ -508,4 +517,4 @@ find . -name "*.kdevelop" | while read f; do mv "${f}" "${f/.kdevelop/.tdevelop}
find . -name "kdewidgets*" | while read f; do mv "${f}" "${f/kdewidgets/tdewidgets}"; done
# Update icon names (optional)
-./convert_kde3_icon_names_to_xdg_standards
+$SCRIPTPATH/convert_kde3_icon_names_to_xdg_standards