on xenial help sign in
Revert update-unity-pot changes.
a243306Robert Bruce Park
po/update-unity-pot+4−4
@@ -1,14 +1,14 @@
1#!/bin/sh
1#!/bin/sh
2set -e
2set -e
3−PO_DIR="$(dirname "$(readlink --canonicalize "$0")")"
4−
5−cd "$(dirname $PO_DIR)"
3+cd $(dirname $0)
4+PO_DIR=$PWD
6
5
7PROGNAME=$(basename $0)
6PROGNAME=$(basename $0)
8
7
9# Create a list of files to scan
8# Create a list of files to scan
10−GETTEXT_FILES=".tmp.unity8.lst"
9+GETTEXT_FILES=$(mktemp --tmpdir unity8.lst.XXXXX)
11trap 'rm -f "$GETTEXT_FILES"' EXIT
10trap 'rm -f "$GETTEXT_FILES"' EXIT
11+cd ..
12
12
13find \( -name '*.h' -o -name '*.cpp' -o -name '*.qml' -o -name '*.js' \) \
13find \( -name '*.h' -o -name '*.cpp' -o -name '*.qml' -o -name '*.js' \) \
14 -a ! \( -path './debian/*' -o -path './builddir/*' -o -path './build/*' -o -path './tests/*' -o -path './.bzr/*' \) | sort \
14 -a ! \( -path './debian/*' -o -path './builddir/*' -o -path './build/*' -o -path './tests/*' -o -path './.bzr/*' \) | sort \