Revert update-unity-pot changes.
commita24330615449c077dc04afec9320792c29929220
authorRobert Bruce Park <robert.park@canonical.com>
dateMon 21 Mar 2016, 21:44 (11 years ago)
parent9697842
po/update-unity-pot+4−4
@@ -1,14 +1,14 @@
11#!/bin/sh
22set -e
3−PO_DIR="$(dirname "$(readlink --canonicalize "$0")")"
4−
5−cd "$(dirname $PO_DIR)"
3+cd $(dirname $0)
4+PO_DIR=$PWD
65
76PROGNAME=$(basename $0)
87
98# Create a list of files to scan
10−GETTEXT_FILES=".tmp.unity8.lst"
9+GETTEXT_FILES=$(mktemp --tmpdir unity8.lst.XXXXX)
1110trap 'rm -f "$GETTEXT_FILES"' EXIT
11+cd ..
1212
1313find \( -name '*.h' -o -name '*.cpp' -o -name '*.qml' -o -name '*.js' \) \
1414 -a ! \( -path './debian/*' -o -path './builddir/*' -o -path './build/*' -o -path './tests/*' -o -path './.bzr/*' \) | sort \