summaryrefslogtreecommitdiff
path: root/resources/locale/gen-pot.sh
diff options
context:
space:
mode:
Diffstat (limited to 'resources/locale/gen-pot.sh')
-rwxr-xr-xresources/locale/gen-pot.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/resources/locale/gen-pot.sh b/resources/locale/gen-pot.sh
index 67b0b2c..22d3067 100755
--- a/resources/locale/gen-pot.sh
+++ b/resources/locale/gen-pot.sh
@@ -1,5 +1,9 @@
#!/bin/bash
+# get directory of script and cd to it
+DIR="$( cd "$( dirname "$0" )" && pwd )"
+cd $DIR
+
# Searches trough all vala files of Gnome-Pie and generates
# a gnomepie.pot for strings which need to be translated.